Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Phillips <julian@quantumfyre.co.uk>2010-06-26 03:41:33 +0400
committerJunio C Hamano <gitster@pobox.com>2010-06-27 21:06:40 +0400
commitcb944f6b5009e4788041a5194d73b92a0620c9d9 (patch)
treeb7f57673b686e8dbc37b3ba13be9c519e7981a3e /string-list.c
parent7c42e390a37a11b1f7a77f5f07c261a8f930663a (diff)
string_list: Fix argument order for print_string_list
Update the definition and callers of print_string_list to use the string_list as the first argument. This helps make the 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>
Diffstat (limited to 'string-list.c')
-rw-r--r--string-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string-list.c b/string-list.c
index c9ad7fcd49..b7e57a407c 100644
--- a/string-list.c
+++ b/string-list.c
@@ -139,7 +139,7 @@ void string_list_clear_func(struct string_list *list, string_list_clear_func_t c
}
-void print_string_list(const char *text, const struct string_list *p)
+void print_string_list(const struct string_list *p, const char *text)
{
int i;
if ( text )