mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-30 01:34:26 +02:00
fixed merge case with existing commits
This commit is contained in:
parent
87c787c8af
commit
67570f716d
7 changed files with 67 additions and 23 deletions
|
@ -26,10 +26,19 @@ function getMockFactory() {
|
|||
}
|
||||
// special method that does stuff
|
||||
mockFactory.playRefreshAnimationAndFinish = function(gitVisuals, aQueue) {
|
||||
console.log('trying to finish');
|
||||
aQueue.thenFinish(Q.defer().promise);
|
||||
};
|
||||
|
||||
mockFactory.playCommitBirthPromiseAnimation = function(commit, visuals) {
|
||||
var d = Q.defer();
|
||||
d.resolve();
|
||||
return d.promise;
|
||||
};
|
||||
|
||||
mockFactory.highlightEachWithPromise = function(chain, toRebase, destBranch) {
|
||||
return chain;
|
||||
};
|
||||
|
||||
return mockFactory;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue