We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cc118 commit a4fad01Copy full SHA for a4fad01
js/historyview.js
@@ -1464,7 +1464,11 @@ define(['d3'], function() {
1464
setTimeout(function() {
1465
this.flashProperty(commitsToCopy, 'rebased', function() {
1466
commitsToCopy.forEach(function(ref) {
1467
- this.commit({rebased: true, rebaseSource: ref}, this.getCommit(ref).message)
+ var oldCommit = this.getCommit(ref)
1468
+ this.commit({rebased: true, rebaseSource: ref}, oldCommit.message)
1469
+ this.addReflogEntry(
1470
+ 'HEAD', this.getCommit('HEAD').id, 'rebase: ' + (oldCommit.message || oldCommit.id)
1471
+ )
1472
}, this)
1473
var newHeadCommit = this.getCommit('HEAD')
1474
this.lock()
0 commit comments