summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-04 20:53:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-04 20:53:56 (GMT)
commita1315123e22b6996d68c090fa74dbba483bb1d52 (patch)
tree3ad24a44c803b0af68a85364031b6100fbd3fe32 /contrib
parent85b4e0a6dc8407de6f69808d9ee6debdf167ced3 (diff)
parent688b87c81b3a16d4b22594ef48052ee5f29a35b8 (diff)
downloadgit-a1315123e22b6996d68c090fa74dbba483bb1d52.zip
git-a1315123e22b6996d68c090fa74dbba483bb1d52.tar.gz
git-a1315123e22b6996d68c090fa74dbba483bb1d52.tar.bz2
Merge branch 'mp/complete-show-color-moved'
Command line completion (in contrib/) update. * mp/complete-show-color-moved: completion: add show --color-moved[-ws]
Diffstat (limited to 'contrib')
-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 ee468ea..0fdb5da 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