threads / patch / 6701

patch, 6 partsbash: Support --add completion to git-config.

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

## tl;dr

One message between Feb 5, 2007 and Feb 5, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn O. Pearce· Feb 5, 2007, 20:44 UTC · lore

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(-)
Show changes to contrib/completion/git-completion.bash +1 −1
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

← back to recent threads