]> git.ipfire.org Git - thirdparty/git.git/commit - contrib/completion/git-completion.bash
completion: add diff --color-moved[-ws]
authorKir Kolyshkin <kolyshkin@gmail.com>
Fri, 21 Feb 2020 20:15:45 +0000 (12:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 19:09:47 +0000 (11:09 -0800)
commitfd0bc175576d74faf5c7bfe626c09cfea884cc6a
tree34a4dd6bec7ebb12a8731e6d0a3ed9934971503a
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
completion: add diff --color-moved[-ws]

These options are available since git v2.15, but somehow
eluded from the completion script.

Note that while --color-moved-ws= accepts comma-separated
list of values, there is no (easy?) way to make it work
with completion (see e.g. [1]).

[1]: https://github.com/scop/bash-completion/issues/240

Acked-by: Matheus Tavares Bernardino <matheus.bernardino@usp.br>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash