From: Sergey Organov Date: Mon, 9 Oct 2023 16:05:35 +0000 (+0300) Subject: completion: complete '--dd' X-Git-Tag: v2.43.0-rc0~22^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c446ac7903555356d66e24dca5e370f0e1158bc;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 477ef8157a..13a39ebd2e 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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"