diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-01-14 15:25:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-14 15:25:15 -0800 |
commit | 31e391236958c2e75787b7579146b3569fb6ec17 (patch) | |
tree | 16e512db09a8a8cfad7ecea1d9c2e482fff88144 /refs.c | |
parent | Last minute fixes before -rc1 (diff) | |
parent | refs API: use "failure_errno", not "errno" (diff) | |
download | tgif-31e391236958c2e75787b7579146b3569fb6ec17.tar.xz |
Merge branch 'ab/refs-errno-cleanup'
A brown-paper-bag fix on top of a topic that was merged during this
cycle.
* ab/refs-errno-cleanup:
refs API: use "failure_errno", not "errno"
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1722,8 +1722,6 @@ const char *refs_resolve_ref_unsafe(struct ref_store *refs, if (refs_read_raw_ref(refs, refname, oid, &sb_refname, &read_flags, failure_errno)) { *flags |= read_flags; - if (errno) - *failure_errno = errno; /* In reading mode, refs must eventually resolve */ if (resolve_flags & RESOLVE_REF_READING) |