zsh-workers
 help / color / mirror / code / Atom feed
From: Nikolai Weibull <now@bitwi.se>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: Updated _git completion (not attached)
Date: Mon, 24 Jan 2011 21:34:57 +0100	[thread overview]
Message-ID: <AANLkTikuCtPdY1T_7vUBoHmeXWvth_V=V-Sbi-SJX4jj@mail.gmail.com> (raw)

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.


             reply	other threads:[~2011-01-24 20:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 20:34 Nikolai Weibull [this message]
2011-02-19 13:39 ` Simon Ruderich
2011-02-21 14:34   ` Simon Ruderich
2011-02-27  3:45 ` Wayne Davison
2011-02-27  7:47   ` Frank Terbeck
2011-02-27 12:03     ` Nikolai Weibull
2011-02-27 12:25       ` Nikolai Weibull
2011-02-28 13:58         ` Simon Ruderich
2011-02-28 16:33           ` Wayne Davison
2011-02-28 17:07             ` Nikolai Weibull
2011-02-28 17:21               ` Mikael Magnusson
2011-02-28 20:32               ` Simon Ruderich
2011-02-28 20:58         ` Frank Terbeck
2011-03-04 12:57         ` Frank Terbeck
2011-03-18 20:34           ` Nikolai Weibull
2011-03-18 20:43             ` Frank Terbeck
2011-03-18 21:09               ` Nikolai Weibull
2011-03-18 21:18                 ` Frank Terbeck
2011-03-20  2:24                   ` Johan Sundström
2011-03-20  8:05                     ` Submitting patches [was: Re: Updated _git completion (not attached)] Frank Terbeck
2011-03-20  8:47                       ` Bart Schaefer
2011-03-20 15:41                         ` Benjamin R. Haskell
2011-03-20 17:50                           ` Bart Schaefer
2011-03-20 15:34                       ` Benjamin R. Haskell

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='AANLkTikuCtPdY1T_7vUBoHmeXWvth_V=V-Sbi-SJX4jj@mail.gmail.com' \
    --to=now@bitwi.se \
    --cc=zsh-workers@zsh.org \
    /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).