]> git.ipfire.org Git - thirdparty/git.git/commitdiff
completion: complete missing rev-list options
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sun, 21 Jan 2024 04:07:48 +0000 (04:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jan 2024 16:09:52 +0000 (08:09 -0800)
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 <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 8c40ade49411bb883799d79983ad33a696651aa8..6108d523a11e6ce9516bdcd82a684d32d360d82f 100644 (file)
@@ -2071,6 +2071,16 @@ __git_log_common_options="
        --min-age= --until= --before=
        --min-parents= --max-parents=
        --no-min-parents --no-max-parents
+       --alternate-refs --ancestry-path
+       --author-date-order --basic-regexp
+       --bisect --boundary --exclude-first-parent-only
+       --exclude-hidden --extended-regexp
+       --fixed-strings --grep-reflog
+       --ignore-missing --left-only --perl-regexp
+       --reflog --regexp-ignore-case --remove-empty
+       --right-only --show-linear-break
+       --show-notes-by-default --show-pulls
+       --since-as-filter --single-worktree
 "
 # Options that go well for log and gitk (not shortlog)
 __git_log_gitk_options="