From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@sunsite.dk
Subject: _git: There were two _git-clean(), add -s to the kept one.
Date: Tue, 2 Sep 2008 13:26:47 +0200 (CEST) [thread overview]
Message-ID: <alpine.LNX.1.00.0809021325210.3665@localhost> (raw)
In-Reply-To: <alpine.LNX.1.00.0809012234060.24353@localhost>
From: Mikael Magnusson <mikachu@gmail.com>
Date: Tue, 2 Sep 2008 13:22:18 +0200
Subject: [PATCH] _git: There were two _git-clean(), add -s to the kept one.
---
Completion/Unix/Command/_git | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 1f8d2a5..edea5f7 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -437,16 +437,6 @@ _git-checkout-index () {
'*::file:__git_cached_files' && ret=0
}
-(( $+functions[_git-clean] )) ||
-_git-clean () {
- _arguments \
- '-d[remove untracked directories]' \
- '-n[just show what would be done]' \
- '-q[be quiet, only report errors]' \
- '(-X -x)-x[do use ignore rules]' \
- '(-X -x)-X[remove only files ignored by git]' && ret=0
-}
-
(( $+functions[_git-commit-tree] )) ||
_git-commit-tree () {
if (( CURRENT == 2 )); then
@@ -1611,7 +1601,7 @@ _git-cherry-pick () {
(( $+functions[_git-clean] )) ||
_git-clean () {
- _arguments -S \
+ _arguments -S -s \
'-d[also remove untracked directories]' \
'-n[do a dry run]' \
'-f[required when clean.requireForce is true (default)]' \
--
1.6.0.GIT
--
Mikael Magnusson
prev parent reply other threads:[~2008-09-02 11:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 20:32 _git: Update add completion Mikael Magnusson
2008-09-01 20:35 ` _git: Complete rm for git-remote Mikael Magnusson
2008-09-02 11:26 ` Mikael Magnusson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.1.00.0809021325210.3665@localhost \
--to=mikachu@gmail.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).