diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-06-12 17:53:51 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-13 14:38:16 -0700 |
commit | 7fcbd37f9c1b7413b408d0223344d070613777ac (patch) | |
tree | a5e6eb9453478b6ad8273d2a06afe08c1e4c682d /write_or_die.c | |
parent | upload-pack: tighten number parsing at "deepen" lines (diff) | |
download | tgif-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