mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
tree compare refactored
This commit is contained in:
parent
89377b2956
commit
89fa08e149
5 changed files with 87 additions and 96 deletions
|
@ -165,7 +165,7 @@ GitEngine.prototype.exportTree = function() {
|
|||
|
||||
GitEngine.prototype.printTree = function(tree) {
|
||||
tree = tree || this.exportTree();
|
||||
TreeCompare.prototype.reduceTreeFields([tree]);
|
||||
TreeCompare.reduceTreeFields([tree]);
|
||||
|
||||
var str = JSON.stringify(tree);
|
||||
if (/'/.test(str)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue