Skip to content

Commit 706b3e7

Browse files
phil-blaingitster
authored andcommitted
completion: complete missing rev-list options
Some options listed in rev-list-options.txt, and thus accepted by 'git log' and friends, are missing from the Bash completion script. Add them to __git_log_common_options. Signed-off-by: Philippe Blain <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e02ecfc commit 706b3e7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,6 +2071,16 @@ __git_log_common_options="
20712071
--min-age= --until= --before=
20722072
--min-parents= --max-parents=
20732073
--no-min-parents --no-max-parents
2074+
--alternate-refs --ancestry-path
2075+
--author-date-order --basic-regexp
2076+
--bisect --boundary --exclude-first-parent-only
2077+
--exclude-hidden --extended-regexp
2078+
--fixed-strings --grep-reflog
2079+
--ignore-missing --left-only --perl-regexp
2080+
--reflog --regexp-ignore-case --remove-empty
2081+
--right-only --show-linear-break
2082+
--show-notes-by-default --show-pulls
2083+
--since-as-filter --single-worktree
20742084
"
20752085
# Options that go well for log and gitk (not shortlog)
20762086
__git_log_gitk_options="

0 commit comments

Comments
 (0)