mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-24 23:18:35 +02:00
get rid of local branches that trick this since not needed
This commit is contained in:
parent
b2321dd265
commit
748eddbd86
3 changed files with 18 additions and 36 deletions
|
@ -325,13 +325,11 @@ TreeCompare.reduceTreeFields = function(trees) {
|
|||
var branchSaveFields = [
|
||||
'target',
|
||||
'id',
|
||||
'remoteTrackingBranchID',
|
||||
'localBranchesThatTrackThis'
|
||||
'remoteTrackingBranchID'
|
||||
];
|
||||
// for backwards compatibility, fill in some fields if missing
|
||||
var defaults = {
|
||||
remoteTrackingBranchID: null,
|
||||
localBranchesThatTrackThis: null
|
||||
remoteTrackingBranchID: null
|
||||
};
|
||||
|
||||
// this function saves only the specified fields of a tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue