Fixes Issue #43

This commit is contained in:
Peter Cottle 2013-02-20 20:03:27 -08:00
parent a2e89f592d
commit 9b59e47572
6 changed files with 15 additions and 3 deletions

View file

@ -9724,6 +9724,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);
@ -21084,6 +21088,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);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -409,7 +409,7 @@
For a much easier time perusing the source, see the individual files at:
https://github.com/pcottle/learnGitBranching
-->
<script src="build/bundle.min.ad2242cf.js"></script>
<script src="build/bundle.min.59991fe5.js"></script>
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
The downside? No raw logs to parse for analytics, so I have to include

View file

@ -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);