close_sha1_file(): make it easier to diagnose errors
commite8bd78c3fcba35b8344ea6bab6218b793e507ea3
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Mar 2009 19:31:36 +0000 (24 12:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2009 21:39:20 +0000 (24 14:39 -0700)
treecb6d15c6878b0f78ba783bd231d354467530c0ac
parent720fe22d50a58e3308124ec7f5b0fa6c17be3d22
close_sha1_file(): make it easier to diagnose errors

A bug report with "unable to write sha1 file" made us realize that we do
not have enough information to guess why close() is failing.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c