pack-objects, streaming: turn "xx >= big_file_threshold" to ".. > .."
This is because all other places do "xx > big_file_threshold" Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
May 16, 2012 at 19:02 UTC
754980d02386e09d0277d22284375686c197ddbd
2 files changed
+2
-2
builtin/pack-objects.c
+1
-1
@@ -1327,7 +1327,7 @@ static void get_object_details(void)
1327
for (i = 0; i < nr_objects; i++) {
1328
struct object_entry *entry = sorted_by_offset[i];
1329
check_object(entry);
1330
- if (big_file_threshold <= entry->size)
1330
+ if (big_file_threshold < entry->size)
1331
entry->no_try_delta = 1;
1332
}
1333
streaming.c
+1
-1
@@ -121,7 +121,7 @@ static enum input_source istream_source(const unsigned char *sha1,
121
case OI_LOOSE:
122
return loose;
123
case OI_PACKED:
124
- if (!oi->u.packed.is_delta && big_file_threshold <= size)
124
+ if (!oi->u.packed.is_delta && big_file_threshold < size)
125
return pack_non_delta;
126
/* fallthru */
127
default: