Skip to content

Commit

Permalink
completion: complete '--dd'
Browse files Browse the repository at this point in the history
'--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]>
  • Loading branch information
sorganov authored and gitster committed Oct 9, 2023
1 parent c8e5cb0 commit 7c446ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7c446ac

Please sign in to comment.