test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
[gitweb.git] / reflog-walk.c
index f125f374612a373f0875951f3aa683cb19fea66a..4879615cad7527dc5346cd1a85bd56b9d11e052b 100644 (file)
@@ -162,7 +162,7 @@ int add_reflog_for_walk(struct reflog_walk_info *info,
        } 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 {