merge animation fix

This commit is contained in:
Peter Cottle 2012-10-30 14:05:19 -07:00
parent 239f7cf0a2
commit 103ea281ff

View file

@ -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);
}; };