diff options
Diffstat (limited to 't/helper/test-oidmap.c')
-rw-r--r-- | t/helper/test-oidmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/helper/test-oidmap.c b/t/helper/test-oidmap.c index f1b3dbe376..e2eb25ecde 100644 --- a/t/helper/test-oidmap.c +++ b/t/helper/test-oidmap.c @@ -51,7 +51,7 @@ int cmd__oidmap(int argc, const char **argv) if (!strcmp("put", cmd) && p1 && p2) { - if (get_oid(p1, &oid)) { + if (repo_get_oid(the_repository, p1, &oid)) { printf("Unknown oid: %s\n", p1); continue; } @@ -69,7 +69,7 @@ int cmd__oidmap(int argc, const char **argv) } else if (!strcmp("get", cmd) && p1) { - if (get_oid(p1, &oid)) { + if (repo_get_oid(the_repository, p1, &oid)) { printf("Unknown oid: %s\n", p1); continue; } @@ -82,7 +82,7 @@ int cmd__oidmap(int argc, const char **argv) } else if (!strcmp("remove", cmd) && p1) { - if (get_oid(p1, &oid)) { + if (repo_get_oid(the_repository, p1, &oid)) { printf("Unknown oid: %s\n", p1); continue; } |