aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2023-06-26 16:24:47 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-26 09:40:14 -0700
commit55245d669a6c427efd9f7c1782105bea4e97a431 (patch)
tree8dbbaccbc48c74447cb8f7be8c33bba84fceba28
parentcompletion: complete --diff-merges, its options and --no-diff-merges (diff)
downloadgit-55245d669a6c427efd9f7c1782105bea4e97a431.tar.gz
git-55245d669a6c427efd9f7c1782105bea4e97a431.zip
completion: complete --remerge-diff
--remerge-diff 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: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 8688f7c433..11f2edf47b 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2042,7 +2042,7 @@ __git_log_shortlog_options="
"
# Options accepted by log and show
__git_log_show_options="
- --diff-merges --diff-merges= --no-diff-merges
+ --diff-merges --diff-merges= --no-diff-merges --remerge-diff
"
__git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"