summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-06-12 17:53:51 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-13 14:38:16 -0700
commit7fcbd37f9c1b7413b408d0223344d070613777ac (patch)
treea5e6eb9453478b6ad8273d2a06afe08c1e4c682d /write_or_die.c
parentupload-pack: tighten number parsing at "deepen" lines (diff)
downloadtgif-7fcbd37f9c1b7413b408d0223344d070613777ac.tar.xz
upload-pack: make check_non_tip() clean things up on error
On error check_non_tip() will die and not closing file descriptors is no big deal. The next patch will split the majority of this function out for reuse in other cases, where die() may not be the only outcome. Same story for popping SIGPIPE out of the signal chain. So let's make sure we clean things up properly first. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions