summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-08-04 13:53:56 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-04 13:53:56 -0700
commita1315123e22b6996d68c090fa74dbba483bb1d52 (patch)
tree3ad24a44c803b0af68a85364031b6100fbd3fe32
parentThird batch (diff)
parentcompletion: add show --color-moved[-ws] (diff)
downloadtgif-a1315123e22b6996d68c090fa74dbba483bb1d52.tar.xz
Merge branch 'mp/complete-show-color-moved'
Command line completion (in contrib/) update. * mp/complete-show-color-moved: completion: add show --color-moved[-ws]
-rw-r--r--contrib/completion/git-completion.bash8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index ee468ea3b0..0fdb5da83b 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2907,6 +2907,14 @@ _git_show ()
__gitcomp "$__git_diff_submodule_formats" "" "${cur##--submodule=}"
return
;;
+ --color-moved=*)
+ __gitcomp "$__git_color_moved_opts" "" "${cur##--color-moved=}"
+ return
+ ;;
+ --color-moved-ws=*)
+ __gitcomp "$__git_color_moved_ws_opts" "" "${cur##--color-moved-ws=}"
+ return
+ ;;
--*)
__gitcomp "--pretty= --format= --abbrev-commit --no-abbrev-commit
--oneline --show-signature --patch