mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
Wow! Fix undo button and more origin work
This commit is contained in:
parent
6641417422
commit
2938c3fb37
6 changed files with 78 additions and 13 deletions
|
@ -126,6 +126,10 @@ GitEngine.prototype.exportTree = function() {
|
|||
HEAD.target = HEAD.target.get('id');
|
||||
totalExport.HEAD = HEAD;
|
||||
|
||||
if (this.hasOrigin()) {
|
||||
totalExport.originTree = this.origin.exportTree();
|
||||
}
|
||||
|
||||
return totalExport;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue