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

[PATCH 5/6] bash: Support --add completion to git-config.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 5, 2007, 20:44 UTC
Message-ID
<20070205204432.GE8824@spearce.org>

We've recently added --add as an argument to git-config, but I missed putting it into the earlier round of git-config updates within the bash completion.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 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 7e61780..c410678 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -719,7 +719,7 @@ _git_config ()
 		__gitcomp "
 			--global --list --replace-all
 			--get --get-all --get-regexp
-			--unset --unset-all
+			--add --unset --unset-all
 			"
 		return
 		;;
-- 
1.5.0.rc3.58.g79812
Message 1 of 1 in “bash: Support --add completion to git-config.”
  1. 5/6 bash: Support --add completion to git-config.Shawn O. Pearce, Feb 5, 2007

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.