get rid of local branches that trick this since not needed

This commit is contained in:
Peter Cottle 2013-10-09 21:40:44 -07:00
parent b2321dd265
commit 748eddbd86
3 changed files with 18 additions and 36 deletions

View file

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