summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-02-11 16:55:58 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-11 16:55:58 -0800
commit03bdcfcc78f476d58449c9635e95916b7b71f3dd (patch)
tree882cd230084f9259e1143fbf0cb6e26ebe7e0b95 /t
parentMerge branch 'gh/doc-typos' (diff)
parentrefs API: remove "failure_errno" from refs_resolve_ref_unsafe() (diff)
downloadtgif-03bdcfcc78f476d58449c9635e95916b7b71f3dd.tar.xz
Merge branch 'ab/no-errno-from-resolve-ref-unsafe'
Remaining code-clean-up. * ab/no-errno-from-resolve-ref-unsafe: refs API: remove "failure_errno" from refs_resolve_ref_unsafe() sequencer: don't use die_errno() on refs_resolve_ref_unsafe() failure
Diffstat (limited to 't')
-rw-r--r--t/helper/test-ref-store.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c
index 3e4ddaee70..9646d85fc8 100644
--- a/t/helper/test-ref-store.c
+++ b/t/helper/test-ref-store.c
@@ -180,10 +180,9 @@ static int cmd_resolve_ref(struct ref_store *refs, const char **argv)
int resolve_flags = arg_flags(*argv++, "resolve-flags", empty_flags);
int flags;
const char *ref;
- int ignore_errno;
ref = refs_resolve_ref_unsafe(refs, refname, resolve_flags,
- &oid, &flags, &ignore_errno);
+ &oid, &flags);
printf("%s %s 0x%x\n", oid_to_hex(&oid), ref ? ref : "(null)", flags);
return ref ? 0 : 1;
}