From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _git / partial reversion of 24701
Date: Sun, 9 Mar 2008 08:28:23 -0400 [thread overview]
Message-ID: <20080309122823.GA19954@scowler.net> (raw)
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
reply other threads:[~2008-03-09 12:28 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=20080309122823.GA19954@scowler.net \
--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).