From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: git checkout --
Date: Thu, 21 Aug 2008 01:01:26 +0000 [thread overview]
Message-ID: <20080821010126.GA21524@scru.org> (raw)
I'm gonna assume not and do this:
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.86
diff -u -r1.86 _git
--- Completion/Unix/Command/_git 21 Aug 2008 00:38:20 -0000 1.86
+++ Completion/Unix/Command/_git 21 Aug 2008 01:00:02 -0000
@@ -1543,10 +1543,8 @@
new_branch_reflog_arg='-l[create the new branch'\''s reflog]'
fi
- if (( words[(I)--] > 0 && words[(I)--] < CURRENT )); then
- _arguments -C -S \
- - update-files \
- '*::file:->files' && ret=0
+ if compset -N '--'; then
+ __git_cached_files
else
_arguments -C -S \
'-q[suppress feedback messages]' \
reply other threads:[~2008-08-21 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080821010126.GA21524@scru.org \
--to=clint@zsh.org \
--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).