Code

Fix git-fast-export for zero-sized blobs
authorAlex Riesen <raa.lkml@gmail.com>
Tue, 11 Dec 2007 22:01:28 +0000 (23:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Dec 2007 18:59:22 +0000 (10:59 -0800)
commitb0fe0d7258951779b790190b10ca21ffc5573546
tree267d8b48341afbf97131f441cc0b7402be4b4071
parentd4110a9726c7cd5cda35b7dd03dc8f85fe3dff0c
Fix git-fast-export for zero-sized blobs

Writing 1 elements of size 0-byte successfully will cause fwrite(3) to
return 0, and flagging it as error is a mistake.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c