Skip to content
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

Menu refactor #16

Merged
merged 17 commits into from
Apr 19, 2024
Merged

Menu refactor #16

merged 17 commits into from
Apr 19, 2024

Conversation

a-camarillo
Copy link
Owner

ITS ABOUT TIME

fixes #10

this commit includes creating the `menu` package and abstracting the branch list functionality and
associated hotkeys to its own file
move help into modal because the functionality is the same
this includes new keybindings and abstracting the git component features
previously broom was using the go-git method `DeleteBranches` which
deletes branches that are present in `.git/config`. This was causing
unexpected behavior since branches are only in `.git/config` if there is
a remote referfence to track with the local branch. This commit removes
the use of `DeleteBranches` in favor of `RemoveReferences` which instead
deletes the specific reference from the git store.
@a-camarillo a-camarillo merged commit cab84d2 into main Apr 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor menu functionality
1 participant