summaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-08-16 10:08:03 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-18 10:15:19 -0700
commit735efde838b68747e737e863427a4843a8efaddb (patch)
tree4cef9ebadedd09e57441e0bcba740418e9ba5395 /diffcore-rename.c
parentwrapper.c: introduce gentle xmallocz that does not die() (diff)
downloadtgif-735efde838b68747e737e863427a4843a8efaddb.tar.xz
sha1_file.c: do not die failing to malloc in unpack_compressed_entry
Fewer die() gives better control to the caller, provided that the caller _can_ handle it. And in unpack_compressed_entry() case, it can, because unpack_compressed_entry() already returns NULL if it fails to inflate data. A side effect from this is fsck continues to run when very large blobs are present (and do not fit in memory). Noticed-by: Dale R. Worley <worley@alum.mit.edu> 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 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions