Fix worktree add crash and revisit the add UX #166
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Worktree add is currently broken.
The add flow can hit:
E5560: nvim_echo must not be called in a fast event contextThat comes from logging in the callback path.
Expected
First fix the crash so worktree add works again.
After that, revisit the UX. The current
vim.ui.inputprompt works, but the fzf-lua-style model where you type a branch name in the picker and hit<c-a>feels better for worktree creation.The fast-event logging crash in worktree add is fixed on main, so closing this report. Any remaining worktree UX follow-up can be tracked separately.