This commit is contained in:
Peter Cottle 2013-10-24 19:50:34 -07:00
parent dc33d8b78d
commit e62a93452f
2 changed files with 2 additions and 2 deletions

View file

@ -933,7 +933,7 @@ GitEngine.prototype.push = function(options) {
);
}
var branchOnRemote = this.origin.refs[options.destination];
var sourceLocation = this.getOneBeforeCommit(options.source || 'HEAD');
var sourceLocation = this.resolveID(options.source || 'HEAD');
// first check if this is even allowed by checking the sync between
this.checkUpstreamOfSource(