string_list: Fix argument order for for_each_string_list
commitb684e977363ee5cb53d83c69f2298d7898c5f89a
authorJulian Phillips <julian@quantumfyre.co.uk>
Fri, 25 Jun 2010 23:41:34 +0000 (26 00:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jun 2010 17:06:51 +0000 (27 10:06 -0700)
treeb5f70daef883213e3f69643113601cc07e872083
parentcb944f6b5009e4788041a5194d73b92a0620c9d9
string_list: Fix argument order for for_each_string_list

Update the definition and callers of for_each_string_list to use the
string_list as the first argument.  This helps make the string_list
API easier to use by being more consistent.

Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
builtin/ls-files.c
builtin/remote.c
notes.c
resolve-undo.c
string-list.c
string-list.h