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

[PATCH] bash: add '--abort' to 'git am' options

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jul 23, 2008, 17:15 UTC
Message-ID
<1216833345-16008-1-git-send-email-szeder@ira.uka.de>

We have 'git am --abort' since commit 3e5057a8, but no completion support for it.

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 8b1426a..3a99c40 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -489,7 +489,7 @@ _git_am ()
 {
 	local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
 	if [ -d "$dir"/rebase-apply ]; then
-		__gitcomp "--skip --resolved"
+		__gitcomp "--skip --resolved --abort"
 		return
 	fi
 	case "$cur" in
-- 
1.6.0.rc0.36.g3c05
Message 1 of 1 in “bash: add '--abort' to 'git am' options”
  1. bash: add '--abort' to 'git am' optionsSZEDER Gábor, Jul 23, 2008

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.