Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: [PATCH 7/7] mergetool--lib: Improve show_tool_help() output

From: John Keeping <hidden>
Date: 2016-06-15 22:55:54

Possibly related (same subject, not in this thread)

On Fri, Jan 25, 2013 at 01:47:59PM -0800, Junio C Hamano wrote:
John Keeping [off-list ref] writes:
quoted
With the patch above, the block of code at the top becomes:

 	test "$tool" = defaults && continue

 	setup_tool "$tool" 2>/dev/null || continue
 	merge_tool_path=$(translate_merge_tool_path "$tool")

which IMHO is pretty readable.
Of course it is.  The current callers of setup_tool may need some
adjustments, but that should be fairly trivial, I hope.
There are only two and one of them already seems like it doesn't want
the command to cause the script to exit.

David, can you incorporate the following two patches when you re-roll?
Your original 7/7 with the change above will want to build on 8/7.


John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help