[PATCH] bash completion: git rm has grown a --force option
- From
Todd Zullinger <tmz@pobox.com>
- Date
- Aug 8, 2008, 23:41 UTC
- Message-ID
- <20080808234134.GH5655@inocybe.teonanacatl.org>
- In-Reply-To
- <7v8wv7az0z.fsf@gitster.siamese.dyndns.org>
Signed-off-by: Todd Zullinger <tmz@pobox.com> ---
Junio C Hamano wrote:
> I think this makes sense even this late in -rc cycle. Thanks.
Perhaps this is worth adding as well then, since Lee went to the trouble of adding completion for git rm just the other day? ;)
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 3396e35..2d0e468 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1361,7 +1361,7 @@ _git_rm () local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in --*) - __gitcomp "--cached --dry-run --ignore-unmatch --quiet" + __gitcomp "--cached --dry-run --force --ignore-unmatch --quiet" return ;; esac
-- 1.6.0.rc2 -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In some cultures what I do would be considered normal.