diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-02-11 16:55:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-11 16:55:58 -0800 |
commit | 03bdcfcc78f476d58449c9635e95916b7b71f3dd (patch) | |
tree | 882cd230084f9259e1143fbf0cb6e26ebe7e0b95 /t | |
parent | Merge branch 'gh/doc-typos' (diff) | |
parent | refs API: remove "failure_errno" from refs_resolve_ref_unsafe() (diff) | |
download | tgif-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.c | 3 |
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; } |