mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-24 23:18:35 +02:00
Fixes Issue #43
This commit is contained in:
parent
a2e89f592d
commit
9b59e47572
6 changed files with 15 additions and 3 deletions
|
@ -79,6 +79,10 @@ TreeCompare.prototype.compareBranchesWithinTreesHashAgnostic = function(treeA, t
|
|||
if (!branchA || !branchB) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// dont mess up the rest of comparison
|
||||
branchA = _.clone(branchA);
|
||||
branchB = _.clone(branchB);
|
||||
branchA.target = this.getBaseRef(branchA.target);
|
||||
branchB.target = this.getBaseRef(branchB.target);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue