sweet new level

This commit is contained in:
Peter Cottle 2013-10-25 17:54:50 -07:00
parent e62a93452f
commit 016f0f45f1
3 changed files with 43 additions and 5 deletions

View file

@ -1005,7 +1005,7 @@ GitEngine.prototype.push = function(options) {
}, this);
chain = chain.then(_.bind(function() {
var localLocationID = sourceLocation.get('target').get('id');
var localLocationID = this.getCommitFromRef(sourceLocation).get('id');
var remoteCommit = this.origin.refs[localLocationID];
this.origin.setTargetLocation(branchOnRemote, remoteCommit);
// unhighlight local