fix(create): honor resolved head/base targets #205
No reviewers
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!205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/web-create-followup"
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
PR create flows mixed branch-relative and origin-relative behavior.
:Forge pr createadvertisedhead=andbase=modifiers but dropped them at dispatch time, web create did not consistently target the resolved head/base pair, and GitHub issue web create still depended on the non-interactive CLI path.Solution
Wire
head=andbase=through the PR create command path and use the resolved head/base pair consistently for preflight, diffing, push, compose, and web opening. Pass explicit head/base information into GitHub and GitLab web create flows, make Codeberg compare URLs respect the resolved pair, route GitHub issue web create through the browser URL path, and document that only PR create commands are branch-relative while other PR verbs remain PR-relative.