mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
color animation
This commit is contained in:
parent
3ff56c002c
commit
3d40125e75
1 changed files with 2 additions and 1 deletions
|
@ -349,6 +349,7 @@ GitEngine.prototype.makeOrigin = function(treeString) {
|
||||||
ORIGIN_PREFIX + branchName,
|
ORIGIN_PREFIX + branchName,
|
||||||
this.getCommitFromRef(originTarget)
|
this.getCommitFromRef(originTarget)
|
||||||
);
|
);
|
||||||
|
debugger;
|
||||||
|
|
||||||
this.setLocalToTrackRemote(this.refs[branchJSON.id], originBranch);
|
this.setLocalToTrackRemote(this.refs[branchJSON.id], originBranch);
|
||||||
}, this);
|
}, this);
|
||||||
|
@ -358,7 +359,7 @@ GitEngine.prototype.setLocalToTrackRemote = function(localBranch, remoteBranch)
|
||||||
remoteBranch.addLocalBranchThatTracksThis(localBranch);
|
remoteBranch.addLocalBranchThatTracksThis(localBranch);
|
||||||
localBranch.setRemoteTrackingBranchID(remoteBranch.get('id'));
|
localBranch.setRemoteTrackingBranchID(remoteBranch.get('id'));
|
||||||
|
|
||||||
// same for local
|
// same for local TODO intl
|
||||||
var msg = 'local branch "' +
|
var msg = 'local branch "' +
|
||||||
localBranch.get('id') +
|
localBranch.get('id') +
|
||||||
'" set to track remote branch "' +
|
'" set to track remote branch "' +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue