Skip to content

Commit 7c446ac

Browse files
sorganovgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c8e5cb0 commit 7c446ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ __git_log_shortlog_options="
20532053
"
20542054
# Options accepted by log and show
20552055
__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
20572057
"
20582058

20592059
__git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"

0 commit comments

Comments
 (0)