mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-28 06:35:01 +02:00
feat: update rebase animation to reset HEAD (WIP)
This commit is contained in:
parent
ce7881be12
commit
c177175691
1 changed files with 11 additions and 0 deletions
|
@ -2420,6 +2420,17 @@ GitEngine.prototype.rebaseFinish = function(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move HEAD to the commit we are rebasing onto
|
||||||
|
chain = chain.then(function() {
|
||||||
|
this.checkout(this.getCommitFromRef(targetSource));
|
||||||
|
return this.animationFactory.playRefreshAnimation(this.gitVisuals);
|
||||||
|
}.bind(this));
|
||||||
|
|
||||||
|
// add a small delay for clarity before the next animation
|
||||||
|
chain = chain.then(function() {
|
||||||
|
return this.animationFactory.getDelayedPromise(400);
|
||||||
|
}.bind(this));
|
||||||
|
|
||||||
chain = this.animationFactory.highlightEachWithPromise(
|
chain = this.animationFactory.highlightEachWithPromise(
|
||||||
chain,
|
chain,
|
||||||
toRebase,
|
toRebase,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue