aboutsummaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2022-02-17 14:04:28 +0100
committerJunio C Hamano <gitster@pobox.com>2022-02-17 11:19:44 -0800
commit62091b4c87a199c172556f15c5662c6c3679e9cd (patch)
tree8c6d21d3f7138726015b2ccdf4aade74313e4c95 /contrib/completion/git-completion.bash
parent2983cec0f26b7409ccc2dd5710b40ff4809cd4b1 (diff)
downloadgit-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 'contrib/completion/git-completion.bash')
0 files changed, 0 insertions, 0 deletions