summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2026-08-20 18:49:37 -0500
committerJunio C Hamano <gitster@pobox.com>2026-08-20 20:28:02 -0700
commit429dd07aa0bc2082d93edc6dea15da426e8807cb (patch)
treeeb5e5c8d91e516425781dda2450d494059177c22 /t/t4013/diff.diff_initial..side
parent255f3a7a5318b7c2dc97c15845af3e4ec5f51d9a (diff)
builtin/receive-pack: report unpack errors via strbuf
When writing packfiles via `unpack()`, error messages are returned directly by the function. In preparation for `unpack()` logic being moved behind a generic ODB transaction interface, update the function to instead write any error messages to a caller provided strbuf and return a negative value on error. Call sites are updated to use the error strbuf accordingly. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions