Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
string_list: Fix argument order for string_list_lookup
[gitweb.git]
/
remote.c
diff --git
a/remote.c
b/remote.c
index 7ce714ca2fc9865278cc5adfe3c3866ca352f7a9..5a658381150520056ea70aed5a15882bbb448bd8 100644
(file)
--- a/
remote.c
+++ b/
remote.c
@@
-763,7
+763,7
@@
void ref_remove_duplicates(struct ref *ref_map)
if (!ref_map->peer_ref)
continue;
- item = string_list_lookup(
ref_map->peer_ref->name, &refs
);
+ item = string_list_lookup(
&refs, ref_map->peer_ref->name
);
if (item) {
if (strcmp(((struct ref *)item->util)->name,
ref_map->name))