feat(cmd): ground modifier-value completion locally for stock :Forge #341
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#341
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?
Prerequisites
Problem
Modifier-value completion needs a hard boundary. Local discovery is often useful and cheap enough:
But forge entity-list fetching inside
name=...subtrees would make the completion source harder to reason about and break the minimal stock-cmdline contract.Proposed solution
Keep modifier-value completion grounded and local for the stock
:Forgecmdline.Global boundary
Entering any
name=...subtree disables forge entity-list completion/fetching for that request. Local discovery is still allowed.Modifier subtree contract
repo=origin,upstream,owner/repo,github.com/owner/repo)template=head=/base=@...branch=/commit=target=adapter=method=merge,squash,rebaseScope note
repo=remains the canonical scope override. Noremote=modifier is introduced.Acceptance criteria:
name=...subtree disables forge entity-list completion/fetching for that requestrepo=remains the canonical scope override; noremote=modifier is introducedAlternatives considered
repo=withremote=