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

[PATCH 6/9] update 'git-rm' bash completion according to the man page

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 8, 2009, 08:56 UTC
Message-ID
<9f50533b0908080156t7cfd05ebg3e5d29f7d2260c25@mail.gmail.com>
Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 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 98e1185..4746eee 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1828,7 +1828,7 @@ _git_rm ()
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 	case "$cur" in
 	--*)
-		__gitcomp "--cached --dry-run --ignore-unmatch --quiet"
+		__gitcomp "--force --cached --dry-run --ignore-unmatch --quiet"
 		return
 		;;
 	esac
-- 
1.6.4
Next: Junio C Hamano
Message 1 of 3 in “update 'git-rm' bash completion according to the man page”
  1. 6/9 update 'git-rm' bash completion according to the man pageEmmanuel Trillaud, Aug 8, 2009
  2. Junio C HamanoAug 8, 2009
  3. Emmanuel TrillaudAug 8, 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.