summaryrefslogtreecommitdiff
path: root/t/helper/test-find-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-find-pack.c')
-rw-r--r--t/helper/test-find-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-find-pack.c b/t/helper/test-find-pack.c
index 14b2b0c12c..85a69a4e55 100644
--- a/t/helper/test-find-pack.c
+++ b/t/helper/test-find-pack.c
@@ -40,7 +40,7 @@ int cmd__find_pack(int argc, const char **argv)
die("cannot parse %s as an object name", argv[0]);
for (p = get_all_packs(the_repository); p; p = p->next)
- if (find_pack_entry_one(oid.hash, p)) {
+ if (find_pack_entry_one(&oid, p)) {
printf("%s\n", p->pack_name);
actual_count++;
}