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

[PATCH] contrib/completion: --no-index option to git diff

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 23, 2010, 12:33 UTC
Message-ID
<7d6649a466d452ed428e6d378cba11bc2360a788.1285245189.git.git@drmicha.warpmail.net>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index feab651..64341d5 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1131,7 +1131,7 @@ _git_diff ()
 	case "$cur" in
 	--*)
 		__gitcomp "--cached --staged --pickaxe-all --pickaxe-regex
-			--base --ours --theirs
+			--base --ours --theirs --no-index
 			$__git_diff_common_options
 			"
 		return
-- 
1.7.3.67.g2a10b7
Message 1 of 1 in “contrib/completion: --no-index option to git diff”
  1. contrib/completion: --no-index option to git diffMichael J Gruber, Sep 23, 2010

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.