apache / apache/netbeans

git branch/tag popup shows deleted branches

Open
#7,963 0 comments 1 reaction 0 assignees View on GitHub
git kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 23

### What happened

Netbeans offers some kind of quick switch to branch popup entries. This list shows deleted branches as well. The **switch to branch** dialog shows the correct list of available branches. So those branch popups are cached somehow but not refreshed.

How can I manually refresh this list?

Or is this even a bug, showing those deleted branches?

### Language / Project Type / NetBeans Component

maven multi module project using git

### How to reproduce

create a branch "test"
switch to it
make some changes
commit changes
switch back to master (now there should be a popup entry under Git/Branch Tag/**switch to branch test**)
delete branch "test"

the popup entry Git/Branch Tag/**switch to branch test** is still there

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

windows 11

### JDK

21.0.4; OpenJDK 64-Bit Server VM 21.0.4+7-LTS (IDE)

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Apache NetBeans 23 using the Git/Branch Tag/switch to branch steps described, then trace how that popup obtains and refreshes branch entries. Done means deleting a branch removes it from the popup without leaving a stale switch-to-branch entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.