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:

committed by
Junio C Hamano

parent
e8c8b7139c
commit
1d2f80fa79
@ -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)
|
||||
|
Reference in New Issue
Block a user