Re: [PATCH] wt-status.c: improve readability for wt_shortstatus_print

2017-03-16 Thread Junio C Hamano
Jonathan Nieder writes: > Stefan Beller wrote: > >> Subject: wt-status.c: improve readability for wt_shortstatus_print > > Maybe: > > wt-status: simplify by using for_each_string_list_item > > Improve readability by using the for_each_string_list_item helper > instead of manuall

Re: [PATCH] wt-status.c: improve readability for wt_shortstatus_print

2017-03-16 Thread Jonathan Nieder
Stefan Beller wrote: > Subject: wt-status.c: improve readability for wt_shortstatus_print Maybe: wt-status: simplify by using for_each_string_list_item Improve readability by using the for_each_string_list_item helper instead of manually iterating with an integer counter

[PATCH] wt-status.c: improve readability for wt_shortstatus_print

2017-03-16 Thread Stefan Beller
Signed-off-by: Stefan Beller --- wt-status.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/wt-status.c b/wt-status.c index d47012048f..a52d342695 100644 --- a/wt-status.c +++ b/wt-status.c @@ -1785,34 +1785,24 @@ static void wt_shortstatus_print_trackin