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

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

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Dec 29, 2008, 15:05 UTC
Message-ID
<1230563146-18958-1-git-send-email-szeder@ira.uka.de>
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 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 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
Next: Junio C Hamano
Message 1 of 2 in “bash: add '--merge' to 'git reset'”
  1. bash: add '--merge' to 'git reset'SZEDER Gábor, Dec 29, 2008
  2. Junio C HamanoJan 6, 2009

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.