Fix commit picker SHA parsing and upstream fallback #165
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#165
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
The commit picker has two separate integrity problems.
SHAs after the first row are getting parsed with a leading newline.
That breaks:
When a branch upstream ref is stale or missing, the commit picker can surface a raw git failure instead of falling back cleanly to the local branch.
Expected
Fixed by
#179.The merged commit-picker fix trims parsed commit rows and falls back cleanly to local history when the upstream ref is stale or unusable.