mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28: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) {
|
||||
set[commitID] = true;
|
||||
});
|
||||
Object.keys(this.getUpstreamTagSet()).forEach(commitID => set[commitID] = true);
|
||||
|
||||
var toDelete = [];
|
||||
this.commitCollection.each(function(commit) {
|
||||
|
@ -1877,7 +1878,6 @@ GitEngine.prototype.pruneTree = function(doPrintWarning = true) {
|
|||
|
||||
return true;
|
||||
};
|
||||
|
||||
GitEngine.prototype.getUpstreamBranchSet = function() {
|
||||
return this.getUpstreamCollectionSet(this.branchCollection);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue