summaryrefslogtreecommitdiff
path: root/t/t2005-checkout-index-symlinks.sh
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2021-01-14 16:50:16 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-14 17:02:22 -0800
commit7c99bc23fcd69eeebf8a92263b5d90673c510a6a (patch)
tree5e582f9e9d3c4828da2b81181c2222e80fa7893c /t/t2005-checkout-index-symlinks.sh
parentfetch-pack: refactor writing promisor file (diff)
downloadtgif-7c99bc23fcd69eeebf8a92263b5d90673c510a6a.tar.xz
pack-write: die on error in write_promisor_file()
write_promisor_file() already uses xfopen(), so it would die if the file cannot be opened for writing. To be consistent with this behavior and not overlook issues, let's also die if there are errors when we are actually writing to the file. Suggested-by: Jeff King <peff@peff.net> Suggested-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2005-checkout-index-symlinks.sh')
0 files changed, 0 insertions, 0 deletions