wt-status: simplify by using for_each_string_list_item
authorStefan Beller <redacted>
Thu, 16 Mar 2017 21:36:19 +0000 (14:36 -0700)
committerJunio C Hamano <redacted>
Fri, 17 Mar 2017 17:32:45 +0000 (10:32 -0700)
commitd4aae459cd217c9201e03b270112f5b3ead1f867
tree0a27c24d1955ffa9b83ae778e4b479d61d62acdb
parent7c9c2f8c394a4c1f4e09d6d5542c4e7965cc9240
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.

Signed-off-by: Stefan Beller <redacted>
Reviewed-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
wt-status.c
git clone https://git.99rst.org/PROJECT