Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _git / partial reversion of 24701
- X-seq: zsh-workers 24702
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _git / partial reversion of 24701
- Date: Sun, 9 Mar 2008 08:28:23 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I've been waiting for the mail to come in so I could reply to it, but it
just won't arrive. I was a little overzealous in 24701, and this might
work a bit better until someone cleans up the $words madness above it.
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.61
diff -u -r1.61 _git
--- Completion/Unix/Command/_git 9 Mar 2008 12:16:55 -0000 1.61
+++ Completion/Unix/Command/_git 9 Mar 2008 12:22:39 -0000
@@ -4155,8 +4155,8 @@
__git_aliases_and_commands
;;
(options)
- curcontext="${curcontext%:*:*}:git-$service:"
- _call_function ret _git-$service
+ curcontext="${curcontext%:*:*}:git-$words[1]:"
+ _call_function ret _git-$words[1]
;;
esac
else
Messages sorted by:
Reverse Date,
Date,
Thread,
Author