From: Stephen Boyd Date: Mon, 16 Nov 2009 08:28:50 GMT Subject: Re: [PATCH v2] Speed up bash completion loading Message-ID: <4B010D42.4090902@gmail.com> In-Reply-To: <20091115102912.GA4100@progeny.tock> Jonathan Nieder wrote: > > Junio C Hamano wrote: >> Jonathan Nieder 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?