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 | 1ffcbaa1a5f10c9f706314d77f88de20a4a498c2 (diff) | |
parent | cac15b3fb422efb2cd1572cc654793d5df5fa434 (diff) | |
download | git-31e391236958c2e75787b7579146b3569fb6ec17.tar.gz |
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) |