Code

string_list: Fix argument order for string_list_insert
authorJulian Phillips <julian@quantumfyre.co.uk>
Fri, 25 Jun 2010 23:41:35 +0000 (00:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jun 2010 17:06:51 +0000 (10:06 -0700)
commit78a395d371ec9fd14297178ec98b8b1042a64fb6
treef155b25e547c4c454f5ff1fd0f21398eb27887ee
parentb684e977363ee5cb53d83c69f2298d7898c5f89a
string_list: Fix argument order for string_list_insert

Update the definition and callers of string_list_insert 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>
19 files changed:
builtin/apply.c
builtin/commit.c
builtin/fetch.c
builtin/mailsplit.c
builtin/mv.c
builtin/remote.c
builtin/shortlog.c
builtin/show-ref.c
diff-no-index.c
http-backend.c
mailmap.c
merge-recursive.c
reflog-walk.c
remote.c
rerere.c
resolve-undo.c
string-list.c
string-list.h
wt-status.c