X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=fsck.c;h=797e3178ae279f444d2efa7e3758652ad0898dd7;hb=2a2ad0c0007b9f79768b4564644ac9eaaa7310b6;hp=6883d1bd68d158290acb18ae9b4e8baba7525201;hpb=c0b48ad777eb8ad42d8d0eafc8f0ee82955b1319;p=git.git diff --git a/fsck.c b/fsck.c index 6883d1bd6..797e3178a 100644 --- a/fsck.c +++ b/fsck.c @@ -155,8 +155,6 @@ static int fsck_tree(struct tree *item, int strict, fsck_error error_func) o_mode = 0; o_name = NULL; o_sha1 = NULL; - if (!desc.size) - return error_func(&item->object, FSCK_ERROR, "empty tree"); while (desc.size) { unsigned mode;