[PATHv2] branch.c:install_branch_config():Simplify code generating verbose message.

2014-03-11 Thread Paweł Wawruch
Simplify the long if chain in install_branch_config(). There is a long chain of if statements. The code can be more clear. Replace the chain with table of strings. New approach is more compact. Signed-off-by: Paweł Wawruch pa...@aleg.pl --- branch.c | 40 ++--

Re: [PATHv2] branch.c:install_branch_config():Simplify code generating verbose message.

2014-03-11 Thread Eric Sunshine
Thanks for taking review comments from your previous attempt into account. This is a more well-crafted submission. Additional comments below. On Tue, Mar 11, 2014 at 4:40 AM, Paweł Wawruch pa...@aleg.pl wrote: Subject: [PATHv2] branch.c:install_branch_config():Simplify code generating verbose