Re: [PATCH] completion: reduce overhead of clearing cached --options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2018, 05:10 UTC
- Message-ID
- <xmqq7ep7ybw2.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAM0VKjkKE695mMPgmfgzWJPaJThdLDSESV9KmupQX_bm-6MW-w@mail.gmail.com>
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 9 quoted lines
> On Fri, Apr 13, 2018 at 11:44 PM, Jakub Narebski <jnareb@gmail.com> wrote: >> SZEDER Gábor <szeder.dev@gmail.com> writes: >>> In Bash we can do better: run the 'compgen -v __gitcomp_builtin_' >>> builtin command, which lists the same variables, but without a >>> pipeline and 'sed' it can do so with lower overhead. >> >> What about ZSH? > > Nothing, ZSH is unaffected by this patch.
OK, do we want to follow it up with [PATCH 2/1] to add the LC_ALL=C thing to the ZSH side to help that "sed", then?