threads / patch / 16909

patchbash: add '--merge' to 'git reset'

Subject: [PATCH] bash: add '--merge' to 'git reset'

## tl;dr

2 messages between Dec 29, 2008 and Jan 6, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

SZEDER Gábor· Dec 29, 2008, 15:05 UTC · lore
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 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 3491fd0..f6c3755 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1408,7 +1408,7 @@ _git_reset ()
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 	case "$cur" in
 	--*)
-		__gitcomp "--mixed --hard --soft"
+		__gitcomp "--merge --mixed --hard --soft"
 		return
 		;;
 	esac
-- 
1.6.1.57.gdceb8

← back to recent threads