File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
git-webui/release/share/git-webui/webui/js Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1256,11 +1256,7 @@ webui.StashCommitView = function(stashView) {
1256
1256
var self = this ;
1257
1257
1258
1258
self . update = function ( entry ) {
1259
- // if (currentCommit == entry.commit) {
1260
- // // We already display the right data. No need to update.
1261
- // return;
1262
1259
1263
- // }
1264
1260
currentCommit = entry . commit ;
1265
1261
self . showDiff ( ) ;
1266
1262
diffView . update ( "stash show -p stash@{" + entry . stashIndex + "}" ) ;
@@ -2060,11 +2056,6 @@ webui.CommitView = function(historyView) {
2060
2056
var self = this ;
2061
2057
2062
2058
self . update = function ( entry ) {
2063
- if ( currentCommit == entry . commit ) {
2064
- // We already display the right data. No need to update.
2065
- return ;
2066
-
2067
- }
2068
2059
currentCommit = entry . commit ;
2069
2060
self . showDiff ( ) ;
2070
2061
buttonBox . select ( 0 ) ;
You can’t perform that action at this time.
0 commit comments