diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-04 22:53:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-04 22:53:56 +0200 |
commit | a1315123e22b6996d68c090fa74dbba483bb1d52 (patch) | |
tree | 3ad24a44c803b0af68a85364031b6100fbd3fe32 /contrib | |
parent | Third batch (diff) | |
parent | completion: add show --color-moved[-ws] (diff) | |
download | git-a1315123e22b6996d68c090fa74dbba483bb1d52.tar.xz git-a1315123e22b6996d68c090fa74dbba483bb1d52.zip |
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.bash | 8 |
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 |