string_list: Fix argument order for string_list_append

Update the definition and callers of string_list_append 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>
This commit is contained in:
Julian Phillips
2010-06-26 00:41:38 +01:00
committed by Junio C Hamano
parent e8c8b7139c
commit 1d2f80fa79
16 changed files with 64 additions and 64 deletions

View File

@ -115,7 +115,7 @@ static void insert_one_record(struct shortlog *log,
}
}
string_list_append(buffer, item->util);
string_list_append(item->util, buffer);
}
static void read_from_stdin(struct shortlog *log)