New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug:Git branches suggestions still appear after being deleted #2026
Labels
bug
Something isn't working
Comments
We cache the branch suggestions, this might be a better issue for https://github.com/withfig/autocomplete as the caching logic is stored in that repo. |
i'll give this issue a try |
after trying to reproduce this bug, here's what i've got:
shouldn't this be the expected behaviour? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 13.3.1 (22E772610a)
Expected behaviour
If a branch is deleted with
git branch -D
the branch name shouldn't appear in the suggestions whengit checkout
is typedActual behaviour
After deleting local branches with git branch -D, the branch names still appear in the suggestions when
git checkout
is typedSteps to reproduce
git branch -D <branch>
git checkout
.Result
Fig suggestions sill shows the deleted branch
Environment
The text was updated successfully, but these errors were encountered: