threads / patch / 50738

patchAdd the completion for the --color-moved option

Subject: [PATCH] Add the completion for the --color-moved option

## tl;dr

One message between Mar 14, 2019 and Mar 14, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christophe Coevoet· Mar 14, 2019, 13:58 UTC · lore
Signed-off-by: Christophe Coevoet <stof@notk.org>
---
 contrib/completion/git-completion.bash | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Show changes to contrib/completion/git-completion.bash +2 −1
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 499e56f83d..715f388721 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1432,7 +1432,8 @@ __git_diff_submodule_formats="diff log short"
 
 __git_diff_common_options="--stat --numstat --shortstat --summary
 			--patch-with-stat --name-only --name-status --color
-			--no-color --color-words --no-renames --check
+			--no-color --color-words --color-moved
+			--no-renames --check
 			--full-index --binary --abbrev --diff-filter=
 			--find-copies-harder --ignore-cr-at-eol
 			--text --ignore-space-at-eol --ignore-space-change
-- 
2.21.0

← back to recent threads