mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
starting on push bug for git merge C3;git merge master;go master;git merge side;git push;gc; git reset HEAD~1; git clone; gc; git merge C2; git push;
This commit is contained in:
parent
cb54364d6a
commit
f682f42aa0
1 changed files with 2 additions and 4 deletions
|
@ -265,9 +265,8 @@ GitEngine.prototype.makeOrigin = function(treeString) {
|
|||
AnimationFactory.playRefreshAnimationAndFinish(this.gitVisuals, this.animationQueue);
|
||||
}, this);
|
||||
|
||||
// TODO handle the case where the master target on origin is not present
|
||||
// locally, so we have to go up the chain. for now we assume the master on
|
||||
// origin is at least present.
|
||||
// we only clone from our current state, so we can safely assume all of our
|
||||
// local commits are on origin
|
||||
var originTree = JSON.parse(unescape(treeString));
|
||||
// make an origin branch for each branch mentioned in the tree
|
||||
_.each(originTree.branches, function(branchJSON, branchName) {
|
||||
|
@ -1162,7 +1161,6 @@ GitEngine.prototype.fakeTeamwork = function(numToMake, branch) {
|
|||
this.origin.gitVisuals
|
||||
);
|
||||
}, this);
|
||||
var chainStepWrap = function() { return chainStep(); };
|
||||
|
||||
var deferred = Q.defer();
|
||||
var chain = deferred.promise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue