Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2022-02-17 16:04:28 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-17 22:19:44 +0300
commit62091b4c87a199c172556f15c5662c6c3679e9cd (patch)
tree8c6d21d3f7138726015b2ccdf4aade74313e4c95 /refs.h
parent2983cec0f26b7409ccc2dd5710b40ff4809cd4b1 (diff)
fetch: report errors when backfilling tags fails
When the backfilling of tags fails we do not report this error to the caller, but only report it implicitly at a later point when reporting updated references. This leaves callers unable to act upon the information of whether the backfilling succeeded or not. Refactor the function to return an error code and pass it up the callstack. This causes us to correctly propagate the error back to the user of git-fetch(1). Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions