completion: complete '--dd'

'--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>

Sergey Organov committed Oct 9, 2023 at 19:05 UTC 7c446ac7903555356d66e24dca5e370f0e1158bc
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -2053,7 +2053,7 @@ __git_log_shortlog_options="
2053 "
2054 # Options accepted by log and show
2055 __git_log_show_options="
2056 - --diff-merges --diff-merges= --no-diff-merges --remerge-diff
2056 + --diff-merges --diff-merges= --no-diff-merges --dd --remerge-diff
2057 "
2058
2059 __git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"