Skip to content

Conversation

@Chris2011
Copy link
Contributor

If you have add more than one remote and you want to push an untracked branch, NetBeans just shows an error that it can't choose the correct remote due to many remotes.

I added this for push to upstream and pull from upstream. If we have multiple remotes, it just opens the same UI for pull/push and preselect the current branch.

For push it will also ask for setting this branch tracked to the remote branch. I have a problem for doing the same for pull. I guess it is a thread thing.

Inside of PullAction in the method perform, it never hits the finally block, due to removing the threadlocal variable inside the runWithoutInding method. I dunno whether this is a bug but for me it feels like that. So I couldn't test it.

The PR is not finished yet, but you already can have a look and left comments please.

PR approval and merge checklist:

  1. Was this PR correctly labeled, did the right tests run? When did they run?
  2. Is this PR squashed?
  3. Are author name / email address correct? Are co-authors correctly listed? Do the commit messages need updates?
  4. Does the PR title and description still fit after the Nth iteration? Is the description sufficient to appear in the release notes?

If this PR targets the delivery branch: don't merge. (full wiki article)

@Chris2011 Chris2011 added this to the NB29 milestone Oct 15, 2025
@Chris2011 Chris2011 self-assigned this Oct 15, 2025
@Chris2011 Chris2011 added enhancement git [ci] enable versioning job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Oct 15, 2025
@Chris2011 Chris2011 marked this pull request as draft October 15, 2025 19:13
@Chris2011
Copy link
Contributor Author

I will do a correct squash and merge at the end. Unfortunately I merged master after my commit. Sry for that.

@Chris2011
Copy link
Contributor Author

I also added a null check, due to a NPE throwing. I see failing tests, I will fix them soon.

@Chris2011 Chris2011 marked this pull request as ready for review November 12, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) enhancement git [ci] enable versioning job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant