mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
CommitView: Add option to amend commits
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
||||
} else {
|
||||
$("diff").hide();
|
||||
if (cached)
|
||||
$("diff").innerHTML = file.cachedChanges().escapeHTML();
|
||||
$("diff").innerHTML = file.cachedChangesAmend_(Controller.amend()).escapeHTML();
|
||||
else
|
||||
$("diff").innerHTML = file.unstagedChanges().escapeHTML();
|
||||
highlightDiffs();
|
||||
|
||||
Reference in New Issue
Block a user