fixes remote branch grabbing

This commit is contained in:
Peter Cottle 2013-09-09 12:15:46 -07:00
parent 6291baf665
commit cfea67ecce
6 changed files with 6 additions and 6 deletions

View file

@ -888,7 +888,7 @@ GitEngine.prototype.push = function(options) {
// HAX HAX update master and remote tracking for master
chain = chain.then(_.bind(function() {
var localCommit = this.getCommitFromRef(localBranch);
var remoteBranchID = ORIGIN_PREFIX + localBranch.getID();
var remoteBranchID = localBranch.getRemoteTrackingBranchID();
// less hacks hax
this.setTargetLocation(this.refs[remoteBranchID], localCommit);
return this.animationFactory.playRefreshAnimation(this.gitVisuals);