Re: [PATCH v2 06/26] test: completion: add run_func() helper
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 12, 2020, 22:54 UTC
- Message-ID
- <CAMP44s02ytq9gpa1S-Kp7dhMknrZkGtwcqu7mssCCzJY2v=S6Q@mail.gmail.com>
- In-Reply-To
- <xmqqsg9f4zme.fsf@gitster.c.googlers.com>
On Wed, Nov 11, 2020 at 10:39 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 21 quoted lines
>
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
> > But even with no other reason for it, the patch stands on its own.
> >
> >> > +run_func ()
> >> > +{
> >> > + local -a COMPREPLY &&
> >
> > This is the line that was smuggled in. It should be part of a separate
> > patch, since this is behavior change.
> > ...
> > Do you want me to add: "In two places we generate an output that
> > didn't exist before, but nothing ever reads it." ?
>
> That would be very friendly to readers who may later wonder why the
> change was made, yes.
>
> In any case, I am not a shell-completion person, so even if I said
> "yes that would make the patch perfect", that would not count as
> much ;-)But it doesn't hurt either.
I'll resend the series only with the obvious fixes, since there doesn't seem to be much interest in the rest.
-- Felipe Contreras