Commits

Anonymous committed 17fc483

// EW: Removed the if-check because this is not correct.
// It is possible to have a list of paths that lack a "default" option.
// (I sometimes remove the default entries to avoid accidentally pushing/pulling from the wrong repo.)
// In this case, this check will prevent the other paths in the list from showing up in the GUI.
// if( defaultURL )

Comments (0)

Files changed (1)

Source/RepoController_Actions.m

     }
     [_pushURLField setStringValue: (defaultURL ?:@"")];
     [_pushURLField removeAllItems];
-    if( defaultURL )
+    // EW: Removed the if-check because this is not correct.
+    // It is possible to have a list of paths that lack a "default" option.
+    // (I sometimes remove the default entries to avoid accidentally pushing/pulling from the wrong repo.)
+    // In this case, this check will prevent the other paths in the list from showing up in the GUI.
+//    if( defaultURL )
     [_pushURLField addItemsWithObjectValues: [_repo.configFile URLsForStanza: @"paths"]];
     
     [_pushDescriptionField setObjectValue: desc];