Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer
- X-seq: zsh-workers 31340
- From: Nikolai Weibull <now@xxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer
- Date: Sat, 27 Apr 2013 11:01:45 +0200
- Cc: Ramkumar Ramachandra <artagnon@xxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rcNPTEE2bP0srrEtUwPIcmOtFGibRRLfQegWhBOsXAU=; b=UkxIePIsor6LbKYQCeUOsGNjDYoMrybJeld+PHPGcBmXSYWjZ0zSs+9vvByS1fArDo LdBWFFWlz8thVqRI96JSsI4HvF6lSwm++N/W0vFbmb2gRtbO9YD7GIkL4HrLO1/9SIJD nWppmATH2XxN4XIeBkEJDyZshN0LR/xanx0eq2pUmzWiFHWGrKHHVl9Iy24797LW6L3T 2Z/iv/Q9YzAjRtFe66cidpCa816ci5ZWgmAQfZxYzNhbYNt70thplMkZLo5t5pn/lDW4 ryuYkA69LE5HVGdHHjlVRw0c8CZvIbF1xmTNeGMfDDBheTKKpeloHzuqCucGohJq6lDs qz/w==
- In-reply-to: <CADdV=MsZCtr_D9O=ph+O142iLKDv2kvMkpRW8iVP8iP=CNHiXw@mail.gmail.com>
- 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
- References: <1366462573-15545-1-git-send-email-artagnon@gmail.com> <1366462573-15545-3-git-send-email-artagnon@gmail.com> <87mwsm3ho5.fsf@ft.bewatermyfriend.org> <CALkWK0nRVKVdJyep31niA1We-X4wrhjst-iA+is7tfY4ViLROQ@mail.gmail.com> <87haiu2zwk.fsf@ft.bewatermyfriend.org> <CADdV=MsZCtr_D9O=ph+O142iLKDv2kvMkpRW8iVP8iP=CNHiXw@mail.gmail.com>
- Sender: nikolai.weibull@xxxxxxxxx
On Sat, Apr 27, 2013 at 10:56 AM, Nikolai Weibull <now@xxxxxxx> wrote:
> Anyway, I mostly use Magit now, so I might not be the right maintainer anymore.
This being the case, here’s my TODO items that haven’t been DONE yet:
** Git completion
*** Add return 1 after any _message or _nothing?
*** Add support for url.*.insteadof=* for __git_any_repositories
*** git rm --cached should also complete files in the repository
*** git diff-index doesn’t work for the initial commit for
__git_changed-in-index_files
*** Check that all _alternative options are 'users:: _users', not
'users: :_users' or 'users::_users'
*** Change _arguments * && ret=0 to _arguments * && return 0
*** Change _call_function ret * && ret=0 to _call_function ret * && return ret
*** Use loops when $state may contain multiple items
*** Should we add && ret=0 to _guard and __git_guard_*?
*** Remove _git_command_successful
*** Check all uses of compadd
*** Check all uses of _call_program
*** Add = to all local
*** All commands (more or less) take --help|-h
*** Unify --help description
*** Add _git_arguments for describing argument specifications using
Git’s argument parser
This will allow us to unify the --help command, any uses of --verbose and
similar and so on.
*** Decide on terminology for show/display/report
*** A lot of short options should be specified with a + so that they
can take their argument in the same word
*** Tree-ish should bee treeish
*** __git_tags can, for, for example, git verify-tag, be a hexadecimal
object name
How do we fix that?
*** Use compadd -a array instead of compadd $array
*** Git config ->days should complete __git_datetimes
*** Use __all_labels in tag loop for mergetool
*** Instead of -prefix * use if compset *
There’s no need to check this twice.
*** OPT_BOOLEAN can be both --blah and --no-blah
Oh, my, that’s going to be a lot of work.
*** Replace __git_guard_branch-name with __git_branches
We don’t have _guard_files for _files
Messages sorted by:
Reverse Date,
Date,
Thread,
Author