HEAD opacity working

This commit is contained in:
Peter Cottle 2012-09-29 09:43:37 -07:00
parent 9c1c9ed664
commit 3b58cf2912
5 changed files with 46 additions and 23 deletions

View file

@ -340,7 +340,11 @@ GitEngine.prototype.getUpstreamBranchSet = function() {
};
GitEngine.prototype.getUpstreamHeadSet = function() {
return this.getUpstreamSet('HEAD');
var set = this.getUpstreamSet('HEAD');
var including = this.getCommitFromRef('HEAD').get('id');
set[including] = true;
return set;
};
GitEngine.prototype.getOneBeforeCommit = function(ref) {