author | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Oct 2010 18:13:06 +0000 (11:13 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 3 Nov 2010 16:24:57 +0000 (09:24 -0700) | ||
commit | 3ba7a065527a27f45659398e882feaa1165cbb4c | |
tree | bc4ca96b86d9bae83cd255983f89bde607ecbb79 | tree | snapshot |
parent | b6c4ceccb3d6026c612fa55865c51374b26eb176 | commit | diff |
A loose object is not corrupt if it cannot be read due to EMFILE
"git fsck" bails out with a claim that a loose object that cannot be
read but exists on the filesystem to be corrupt, which is wrong when
read_object() failed due to e.g. EMFILE.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git fsck" bails out with a claim that a loose object that cannot be
read but exists on the filesystem to be corrupt, which is wrong when
read_object() failed due to e.g. EMFILE.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c | diff | blob | history |