Skip to content

Commit a2cc118

Browse files
author
Michelle Tilley
committed
Fix incorrect reflog entry on rebase
1 parent 4c1fd4c commit a2cc118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/historyview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ define(['d3'], function() {
14751475
this.reset(origBranch)
14761476
this._setCurrentBranch(origBranch)
14771477
this.addReflogEntry(
1478-
'HEAD', targetCommit.id, 'rebase finished: returning to resf/heads/' + origBranch
1478+
'HEAD', this.getCommit('HEAD').id, 'rebase finished: returning to resf/heads/' + origBranch
14791479
)
14801480
this.addReflogEntry(
14811481
origBranch, newHeadCommit.id, 'rebase finished: refs/heads/' +

0 commit comments

Comments
 (0)