diff options
author | Julian Phillips <julian@quantumfyre.co.uk> | 2010-06-26 00:41:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-27 10:06:51 -0700 |
commit | 78a395d371ec9fd14297178ec98b8b1042a64fb6 (patch) | |
tree | f155b25e547c4c454f5ff1fd0f21398eb27887ee /remote.c | |
parent | b684e977363ee5cb53d83c69f2298d7898c5f89a (diff) | |
download | git-78a395d371ec9fd14297178ec98b8b1042a64fb6.tar.gz |
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>
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -778,7 +778,7 @@ void ref_remove_duplicates(struct ref *ref_map) continue; } - item = string_list_insert(ref_map->peer_ref->name, &refs); + item = string_list_insert(&refs, ref_map->peer_ref->name); item->util = ref_map; } string_list_clear(&refs, 0); |