mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
HEAD opacity working
This commit is contained in:
parent
9c1c9ed664
commit
3b58cf2912
5 changed files with 46 additions and 23 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue