Re: [PATCH 02/12] completion: simplify __gitcomp
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 8, 2012, 14:11 UTC
- Message-ID
- <CAMP44s2vdEzn8_N=sauq-6OvqA+4tDtM9+yYYWuiQHgkZ2DyYA@mail.gmail.com>
- In-Reply-To
- <20120408132704.GB4103@burratino>
Hi,
I've looked at the history of __gitcomp and __gitcomp_nl, now I think it makes sense to keep their arguments similar, at least for the time being.
So I suggest this patch to be dropped.
On Sun, Apr 8, 2012 at 4:27 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 21 quoted lines
> Felipe Contreras wrote:
>
>> So we should never make any cleanups because some custom completion
>> functions might theoretically break?
>
> No, tasteful cleanups that don't break custom completion functions are
> very welcome.
>
> Also if you have evidence that this is definitely (not just possibly)
> only a theoretical problem, then it would not be a regression. But I
> actually find it likely that custom completion code would have
> imitated the old completion code in git that used the suffix argument,
> so...
>
> Can you remind me what the benefit that the user is getting from this
> patch in exchange for us breaking their tab completion? The title
> ("simplify __gitcomp") tells me exactly nothing about its impact
> except that it is perhaps supposed to result in no behavior change.
>
> Sorry for the fuss and hope that helps,
> Jonathan