Commit 3ba7a06
committed
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>1 parent b6c4cec commit 3ba7a06
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2090 | 2090 | | |
2091 | 2091 | | |
2092 | 2092 | | |
2093 | | - | |
| 2093 | + | |
2094 | 2094 | | |
2095 | 2095 | | |
2096 | 2096 | | |
| 2097 | + | |
| 2098 | + | |
2097 | 2099 | | |
2098 | 2100 | | |
2099 | 2101 | | |
2100 | 2102 | | |
2101 | 2103 | | |
2102 | 2104 | | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2103 | 2108 | | |
2104 | 2109 | | |
2105 | 2110 | | |
| |||
0 commit comments