diff options
author | Patrick Steinhardt <ps@pks.im> | 2022-02-17 14:04:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-17 11:19:44 -0800 |
commit | 62091b4c87a199c172556f15c5662c6c3679e9cd (patch) | |
tree | 8c6d21d3f7138726015b2ccdf4aade74313e4c95 /po | |
parent | fetch: control lifecycle of FETCH_HEAD in a single place (diff) | |
download | tgif-62091b4c87a199c172556f15c5662c6c3679e9cd.tar.xz |
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 'po')
0 files changed, 0 insertions, 0 deletions