Re: [PATCH v2] Speed up bash completion loading
- From
Stephen Boyd <bebarino@gmail.com>
- Date
- Nov 16, 2009, 08:28 UTC
- Message-ID
- <4B010D42.4090902@gmail.com>
- In-Reply-To
- <20091115102912.GA4100@progeny.tock>
Jonathan Nieder wrote:
Show 15 quoted lines
>
> Junio C Hamano wrote:
>> Jonathan Nieder <jrnieder@gmail.com> writes:
>>
>>> __git_compute_merge_strategies ()
>>> {
>>> - : ${__git_merge_strategies=$(__git_list_merge_strategies)}
>>> + __git_merge_strategies=$(__git_list_merge_strategies)
>> Wouldn't
>>
>> : ${__gms:=$(command)}
>>
>> run command only until it gives a non-empty string?
>
> Yes. :)Why not do this for all of the lists and not just the merge strategies?