Open
Labels
enhancementNew capability or improvement requestready-to-implementHuman gate: maintainer approved this issue for implementation
Description
Warp issue warpdotdev/warp#12322 requests completions for git update-ref, including workflows like:
git fetch origin
git update-ref --no-deref HEAD refs/remotes/origin/main
git read-tree HEAD
git checkout-index -fa
git clean -fdThe command-signatures package should add git update-ref metadata and complete full Git ref names such as refs/remotes/origin/main for the ref/value arguments.
Metadata
Metadata
Assignees
Labels
enhancementNew capability or improvement requestready-to-implementHuman gate: maintainer approved this issue for implementation
Activity
warp-for-oss commentedon Jun 22, 2026
@SkyNotSilent
Here's what I found while triaging this issue:
Thanks for the clear request. The Git completions currently do not include
git update-ref, so this is actionable as an enhancement to add the command metadata and full-ref suggestions.Maintainer details
I concluded that feature request to add command-signature support for git update-ref, including full Git ref-name completions for ref/value arguments..
Triage summary
This is an actionable enhancement request to add
git update-refcompletions. The report asks for command metadata forgit update-refand full Git ref-name suggestions such asrefs/remotes/origin/mainfor ref/value positions.Evidence
command-signatures/json/git.jsondoes not currently include anupdate-refsubcommand.command-signatures/src/generators/git.rscover commits, tags, local branches, remote branches, and shortened remote branch names, but they do not expose full ref names in therefs/...form requested here.git update-ref -hconfirms the command accepts forms like<refname> <new-oid> [<old-oid>],-d <refname> [<old-oid>], and--stdin, with options including--no-deref.Likely implementation area
Add an
update-refsubcommand entry to the Git spec and add or reuse a Git generator that can suggest complete ref names fromgit for-each-ref --format="%(refname)"for the ref-name arguments. Object/value arguments may also want existing revision/commit-style generators where appropriate.Duplicate check
I checked all open issues plus recently closed issues and did not find two or more likely duplicates.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
SkyNotSilent commentedon Jun 22, 2026
This is the same request as warpdotdev/warp#12322, which points to command-signatures for implementation. I opened PR #286 with the completion spec and ref generator. Could a maintainer please confirm this issue and mark it
ready-to-implementif the approach is acceptable? Once marked, I can re-trigger Oz review with/oz-review.warp-for-oss commentedon Jul 10, 2026
This issue has been labeled
ready-to-implementand is open for contributions involving code changes. If you'd like to tackle it, feel free to open a pull request against this issue. You can also comment@oz-agenton this issue to have the bot draft an implementation PR automatically.