feat(target): parse Forge repo and revision addresses #150
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!150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/forge-target-parse"
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 normalized
:Forgecommand layer still treats target-bearing modifiers likerepo=,rev=,target=,head=, andbase=as raw strings. That makes it impossible to carry explicit repo/revision/location intent through the command object cleanly.Solution
Add a dedicated
forge.targetmodule that parses repo, revision, and location addresses, including alias-first repo resolution order. Thread those parsed target objects intoforge.cmd.parse()so normalized commands now expose typed target data underparsed_modifiers.