git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Christophe Coevoet <stof@notk.org>
Date
Mar 14, 2019, 13:58 UTC
Message-ID
<3d2892e5-1bc5-b40c-b4c8-1b5d7a972e2d@notk.org>
Signed-off-by: Christophe Coevoet <stof@notk.org>
---
 contrib/completion/git-completion.bash | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
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
Message 1 of 1 in “Add the completion for the --color-moved option”
  1. Add the completion for the --color-moved optionChristophe Coevoet, Mar 14, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.