Chris2011 commented on code in PR #8922:
URL: https://github.com/apache/netbeans/pull/8922#discussion_r2651738059


##########
ide/git/src/org/netbeans/modules/git/ui/fetch/PullBranchesStep.java:
##########
@@ -129,7 +129,11 @@ public void setRemote (GitRemoteConfig remote) {
     }
 
     public void fillRemoteBranches (final Map<String, GitBranch> branches) {
-        fillRemoteBranches(Collections.<String,GitBranch>emptyMap(), 
Collections.<String,GitBranch>emptyMap());
+        fillRemoteBranches(branches, null);
+    }
+
+    public void fillRemoteBranches (final Map<String, GitBranch> branches, 
final GitBranch branchToSelect) {
+        fillRemoteBranchesInternal(Collections.<String,GitBranch>emptyMap(), 
Collections.<String,GitBranch>emptyMap(), null);

Review Comment:
   I tested it yes (Maybe I missed a thing, as always. When you pull a branch 
without upstream, nothing is selected. When you do a pull from upstream, the 
error came up "no tracked brach specified for local branch....". And if I 
remove this, nothing is selected anymore on pull from upstrean. It can be, that 
I need to modify the line 169 - 173.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to