mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Fix tags for #963
This commit is contained in:
parent
5783a02375
commit
a28879d72b
1 changed files with 1 additions and 1 deletions
|
@ -1843,6 +1843,7 @@ GitEngine.prototype.pruneTree = function(doPrintWarning = true) {
|
||||||
Object.keys(headSet).forEach(function(commitID) {
|
Object.keys(headSet).forEach(function(commitID) {
|
||||||
set[commitID] = true;
|
set[commitID] = true;
|
||||||
});
|
});
|
||||||
|
Object.keys(this.getUpstreamTagSet()).forEach(commitID => set[commitID] = true);
|
||||||
|
|
||||||
var toDelete = [];
|
var toDelete = [];
|
||||||
this.commitCollection.each(function(commit) {
|
this.commitCollection.each(function(commit) {
|
||||||
|
@ -1877,7 +1878,6 @@ GitEngine.prototype.pruneTree = function(doPrintWarning = true) {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
GitEngine.prototype.getUpstreamBranchSet = function() {
|
GitEngine.prototype.getUpstreamBranchSet = function() {
|
||||||
return this.getUpstreamCollectionSet(this.branchCollection);
|
return this.getUpstreamCollectionSet(this.branchCollection);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue