Thread (36 messages) flat view 36 messages, 14 authors, 2016-06-15

Re: [PATCH v2] Speed up bash completion loading

From: Stephen Boyd <hidden>
Date: 2016-06-15 22:47:43

Jonathan Nieder wrote:
Junio C Hamano wrote:
quoted
Jonathan Nieder [off-list ref] writes:
quoted
 __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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help