diff --git a/src/git.js b/src/git.js index 49cf1f24..8d5e52ff 100644 --- a/src/git.js +++ b/src/git.js @@ -1044,6 +1044,12 @@ GitEngine.prototype.mergeStarter = function() { 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); };