Merge branch 'rj/platform-pread-may-be-thread-unsafe'
[gitweb.git] / streaming.c
index 3a3cd1206af5465323760e952a836935ac271d32..4d978e54e4fb9d84e81977539ffa083534ef2968 100644 (file)
@@ -121,7 +121,7 @@ static enum input_source istream_source(const unsigned char *sha1,
        case OI_LOOSE:
                return loose;
        case OI_PACKED:
-               if (!oi->u.packed.is_delta && big_file_threshold <= size)
+               if (!oi->u.packed.is_delta && big_file_threshold < size)
                        return pack_non_delta;
                /* fallthru */
        default: