Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Updated _git completion (not attached)
- X-seq: zsh-workers 28649
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Updated _git completion (not attached)
- Date: Mon, 24 Jan 2011 21:34:57 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type:content-transfer-encoding; bh=amdavlWl5/vPGi3QEdgZMQ2LCFYaBycP7JH8l2I0KTs=; b=HSUCSfcQ0f1rbgexwAkfFvHgAaetLntPoifRaqh6fN8hVmogQHLTb0B1lTtOOk0mwL DKwv8ufBFElw9mWYw0d3jVH5taALsLL8jjJUu3l8Lyta0OUiwcL1Q4OI7W3bSxrp7/gL j9JKTB3kr66GzZ1Qpl2u64/hh6f69W0x8tCdw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=RL+askJ5V8HaJLLcqBUnZLf1oOCHez4nXMGHZKTXZO7vlBJUI3IyRp8gh46dfwIqgu BEF/IJlk1+klx7Bc0L+NIPXvO7YcNgS8SetlUn611gsAmDH6mPLwHyEgZjANNXNtUVyV VILi+fUegZz/nfM3Ye/j4KMdOPmbR+0k7w9ng=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
OK. I’m not doing this again. This is perhaps the most boring thing
I’ve ever done (since writing _git the first time). 6037 lines of
pure boring. 167 remaining TODOs.
https://github.com/now/zsh
I don’t know where we go from here. It’s a ridiculous history,
spanning almost one and a half years (though I took a rather long
hiatus during that time). I reordered all functions to match the
order in the manual. I reordered all option specifications to match
the order in the manual. Perhaps the easiest thing to do is simply
throw away the whole history and simply overwrite the current _git
with this one.
I’d appreciate comments and updates to be provided as soon as
possible, so that I can review them while I still have most of this
internalized.
Anyway, this is for git (at or about) 1.7.3.5.
A note on the discussion of not using git ls-files for generating file
names together with _multi_parts: I tried the simple (e:…) filter for
_files but it turned out to be SLOW. Perhaps someone else can look
into this and see if they can come up with a working solution.
I also updated the _git_commands function to use tags. Can someone
please explain how I ignore plumbing-sync-helper-commands and
plumbing-internal-helper-commands? I tried using the tag-order style,
but it wouldn’t take. I’m obviously doing something wrong. I also
removed support for user-commands here. Perhaps they should be added
back in.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author