]> git.ipfire.org Git - thirdparty/git.git/commitdiff
completion: complete '--dd'
authorSergey Organov <sorganov@gmail.com>
Mon, 9 Oct 2023 16:05:35 +0000 (19:05 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Oct 2023 19:47:29 +0000 (12:47 -0700)
'--dd' only makes sense for 'git log' and 'git show', so add it to
__git_log_show_options which is referenced in the completion for these
two commands.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 477ef8157a18e3f83e5f1236e4811bdc8158dbaf..13a39ebd2e73f9b34de743b797577a5e8e98cbae 100644 (file)
@@ -2053,7 +2053,7 @@ __git_log_shortlog_options="
 "
 # Options accepted by log and show
 __git_log_show_options="
-       --diff-merges --diff-merges= --no-diff-merges --remerge-diff
+       --diff-merges --diff-merges= --no-diff-merges --dd --remerge-diff
 "
 
 __git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"