mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
merge animation fix
This commit is contained in:
parent
239f7cf0a2
commit
103ea281ff
1 changed files with 6 additions and 0 deletions
|
@ -1044,6 +1044,12 @@ GitEngine.prototype.mergeStarter = function() {
|
||||||
|
|
||||||
var newCommit = this.merge(this.generalArgs[0], this.generalArgs[1]);
|
var newCommit = this.merge(this.generalArgs[0], this.generalArgs[1]);
|
||||||
|
|
||||||
|
if (newCommit === undefined) {
|
||||||
|
// its just a fast forwrard
|
||||||
|
animationFactory.refreshTree(this.animationQueue);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit);
|
animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue