CommitView: Add option to amend commits

This commit is contained in:
Pieter de Bie
2008-10-09 20:41:46 +02:00
parent 5010511bdb
commit e659e63fc0
7 changed files with 121 additions and 257 deletions
+1 -1
View File
@@ -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();