Skip to content

Commit 3e783f8

Browse files
committed
style: remove dead code in compiled version
1 parent d4e2a1f commit 3e783f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

git-webui/release/share/git-webui/webui/js/git-webui.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,11 +1256,7 @@ webui.StashCommitView = function(stashView) {
12561256
var self = this;
12571257

12581258
self.update = function(entry) {
1259-
// if (currentCommit == entry.commit) {
1260-
// // We already display the right data. No need to update.
1261-
// return;
12621259

1263-
// }
12641260
currentCommit = entry.commit;
12651261
self.showDiff();
12661262
diffView.update("stash show -p stash@{"+entry.stashIndex+"}");
@@ -2060,11 +2056,6 @@ webui.CommitView = function(historyView) {
20602056
var self = this;
20612057

20622058
self.update = function(entry) {
2063-
if (currentCommit == entry.commit) {
2064-
// We already display the right data. No need to update.
2065-
return;
2066-
2067-
}
20682059
currentCommit = entry.commit;
20692060
self.showDiff();
20702061
buttonBox.select(0);

0 commit comments

Comments
 (0)