diff --git a/reflog-walk.c b/reflog-walk.c
index f125f374612a373f0875951f3aa683cb19fea66a..4879615cad7527dc5346cd1a85bd56b9d11e052b 100644 (file)
--- a/reflog-walk.c
+++ b/reflog-walk.c
} else
recno = 0;
- item = string_list_lookup(branch, &info->complete_reflogs);
+ item = string_list_lookup(&info->complete_reflogs, branch);
if (item)
reflogs = item->util;
else {