Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Misc patches for git completion and vcs_info
- X-seq: zsh-workers 33155
- From: Marc Finet <m.dreadlock@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Misc patches for git completion and vcs_info
- Date: Sat, 13 Sep 2014 09:35:14 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=DfToWuLrL+x18YJsLhmlF/9TtB5ELNz6XosVP0yXMlY=; b=LTwAXLcUngFV1XTMdKwzUbk1kApoRa6/h2keIMZLapj1+DiUZrUr/xTH815pkX4OJm GomgjUYNhU+bIbvGvXdRbkT+4dgIamEznsp18X12LAGWUSecAS5+Dn7/ELFDHbklYi97 3qNpgaKtsIo1x3nI79qnmyiuOg+JBMPnkEPS70aNv71ve+t8FiFGAtaJZLF84r2dSFiA HSo/2rH1GiYXKtuYKKkvSVrd4QtEg/Fd5dPGXOAm0/jFPv0+wxE/9B1sUoqp3Eupg7Af TjMVFqkEBFpdYdil4EalMfk93dS8MN2LnfkpfXhCgGO49tFRcUB2EbRSo20BVPkr62X8 1+yQ==
- In-reply-to: <140912165046.ZM23739@torch.brasslantern.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: <1410557443-24178-1-git-send-email-m.dreadlock@gmail.com> <140912165046.ZM23739@torch.brasslantern.com>
The Fri, 12 Sep 2014 16:50:46 -0700, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote
> On Sep 12, 11:30pm, Marc Finet wrote:
> }
> } Below is a list of patches that i added in my current zsh (based
> on } tonight's master). Please consider them for review as my
> zsh-level is } currently very low (e.g. patch 2) and i might have
> broken other use-cases } (patch 4 for instance makes me a little
> bit nervous as it seems to easy).
>
> (I think you left out the list.)
My bad, i'm not yet fluent with git send-email.
> I'll leave it to one of the people who more regularly messes with
> VCS_Info to apply these, but here's my brief take on each of them:
>
> [PATCH 1/9] vcs_info examples: fix typo
>
> - no issues with this one
>
> [PATCH 2/9] completion git: support aliases when \n exist
>
> - looks OK, but my "git config" foo is too weak to assess
>
> PATCH 3/9] vcs_info git: detect revert or cherry-pick with multiple
> commits
>
> - no issues
>
> [PATCH 4/9] vcs_info git: set rrn before using it
>
> - seems pretty obvious
>
> [PATCH 5/9] vcs_info quilt: fix standalone detection
>
> - I'm not sure this is correct; do we need to differentiate (( $#
> == 1 )) from [[ -z "$2" ]] ?
Since VCS_INFO_bydir_detect would use the vcs_comm[detect_need_file]:
for file in ${(s: :)${vcs_comm[detect_need_file]}}; do ...
we have to (re)set it, but i admit that setting it this way (with
a non-existent value) might not be the best way.
>
> [PATCH 6/9] vcs_info quilt: fix unapplied detection on sub-directory
>
> - $(basename $patches) can be replaced with ${patches:t}
Ok (I'll try to remember more parameter expansions).
> [PATCH 7/9] vcs_info git: fix applied-string name
>
> - seems pretty obvious
>
> [PATCH 8/9] vcs_info git: consider patches for rebase
>
> - needs git foo currently beyond me to confirm correctness
>
> [PATCH 9/9] completion git: fix send-email --confirm values
>
> - no issues
Thanks for the review,
Marc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author