Add completion spec: git show#230
Merged
Merged
Conversation
APP-3486 [git] Wire branch completion into git show
Wire branch completion generators into See GitHub #2919 |
lucieleblanc
added a commit
that referenced
this pull request
Apr 1, 2026
lucieleblanc
added a commit
that referenced
this pull request
Apr 1, 2026
Add comprehensive options to the git show subcommand in git.json, complementing the existing branch/tag/commit generators. Options include format, diff output, display, notes, and tab expansion settings. Closes APP-3486 Co-Authored-By: Oz <oz-agent@warp.dev>
738f02a to
b10eca6
Compare
Contributor
Author
e0c016a to
b10eca6
Compare
Contributor
Author
vkodithala
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
Adds comprehensive options to the
git showcompletion spec ingit.json, complementing the existing branch/tag/commit generators. Previously,git showonly had argument generators but no option definitions.Addresses APP-3486 / GitHub #2919.
Changes
Added the following options to
git show:--format,--oneline,--abbrev-commit,--no-abbrev-commit,--encoding-p/-u/--patch,-s/--no-patch,-q/--quiet,--stat,--numstat,--shortstat,--raw,--name-only,--name-status--color,--no-color,--diff-filter,--show-signature--notes,--no-notes--expand-tabs,--no-expand-tabs--Screenshots
Branch completions (
git show <Tab>)Option completions (
git show --<Tab>)Testing
Conversation: https://staging.warp.dev/conversation/a3f2c610-1d16-421a-b3b3-b5edbe8cfa50
Run: https://oz.staging.warp.dev/runs/019d4b03-ef64-7a8a-9574-5e7ae3fd9460
This PR was generated with Oz.