Skip to content

Commit 807de33

Browse files
committed
Merge branch 'mp/complete-show-color-moved' into next
Command line completion (in contrib/) update. * mp/complete-show-color-moved: completion: add show --color-moved[-ws]
2 parents ffaf583 + 688b87c commit 807de33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,6 +2907,14 @@ _git_show ()
29072907
__gitcomp "$__git_diff_submodule_formats" "" "${cur##--submodule=}"
29082908
return
29092909
;;
2910+
--color-moved=*)
2911+
__gitcomp "$__git_color_moved_opts" "" "${cur##--color-moved=}"
2912+
return
2913+
;;
2914+
--color-moved-ws=*)
2915+
__gitcomp "$__git_color_moved_ws_opts" "" "${cur##--color-moved-ws=}"
2916+
return
2917+
;;
29102918
--*)
29112919
__gitcomp "--pretty= --format= --abbrev-commit --no-abbrev-commit
29122920
--oneline --show-signature --patch

0 commit comments

Comments
 (0)