Wire branch completion into git log argument position#264
Merged
Conversation
Add commonly used git log options including --graph, --all, --decorate, -n/--max-count, --format/--pretty, --date, --first-parent, --merges, --no-merges, --reverse, --name-only, --name-status, --diff-filter, -S, -G, --left-right, --cherry-pick, --full-diff, --simplify-by-decoration, --since/--after, --until/--before, --committer, --all-match, --invert-grep, --abbrev-commit, and --skip. Branch completion generators (local_branches, remote_branches, tags, commits) are already wired into the revision argument positions. Co-Authored-By: Oz <oz-agent@warp.dev>
APP-4071 [git] Wire branch completion into git log argument position
We already did something similar in APP-3484 and APP-3486. Ensure the same is done for |
acarl005
approved these changes
Apr 16, 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
Enhance
git logcompletions by adding commonly used options and verifying that branch completion generators work correctly in revision argument positions.What changed
New options added to
git log:--graph,--all,--decorate,--no-decorate,--abbrev-commit-n/--max-count,--skip,--since/--after,--until/--before--committer,--all-match,--invert-grep,--merges,--no-merges,--first-parent--format/--pretty(with suggestions: oneline, short, medium, full, fuller, reference, email, raw),--date(with format suggestions)--name-only,--name-status,--diff-filter,-S,-G,--full-diff--reverse,--left-right,--cherry-pick,--simplify-by-decorationBranch completion generators (
local_branches,remote_branches,tags,commits) are already wired into both revision argument positions (sinceanduntil).Screenshots
Tested in a local Warp build against a git repo with non-trivial branch names (
feature/auth-redesign,bugfix/login-timeout,release/v2.3.0,hotfix/memory-leak-fix,chore/update-dependencies).git log(first argument position — branch completions dropdown):git log feat(filtered branch completion — auto-completes tofeature/auth-redesign):git log master(second argument position — branch completions still work):Conversation: https://staging.warp.dev/conversation/96610dde-1d64-4515-a336-3c6a7f00bea3
Run: https://oz.staging.warp.dev/runs/019d9240-f91b-768e-8f32-53f911b2c0ea
This PR was generated with Oz.