cmd: make :Forge pr create strictly create-only #392
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#392
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?
Part of #389.
Depends on #391.
Suggested order: 3.
Problem
:Forge pr createcurrently overloads creation and branch->existing-PR lookup. That makes the command surprising and hides the distinction between "create a new PR" and "act on the current branch PR".Proposed solution
Make
:Forge pr createstrictly creation-oriented. If a matching open PR already exists for the resolved head context, stop and report a clear message directing the user to:Forge pror:Forge reviewinstead of silently switching into edit.Scope
Acceptance criteria
:Forge pr createnever opens the current PR edit path implicitlyrepo=/head=/base=Out of scope