diff options
Diffstat (limited to 'object-file.c')
-rw-r--r-- | object-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object-file.c b/object-file.c index 0bc62b53d3..17d54c845d 100644 --- a/object-file.c +++ b/object-file.c @@ -1352,7 +1352,7 @@ static void *unpack_loose_rest(git_zstream *stream, return buf; } - if (status < 0) + if (status != Z_STREAM_END) error(_("corrupt loose object '%s'"), oid_to_hex(oid)); else if (stream->avail_in) error(_("garbage at end of loose object '%s'"), |