Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
git checkout --
- X-seq: zsh-workers 25495
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: git checkout --
- Date: Thu, 21 Aug 2008 01:01:26 +0000
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author