summaryrefslogtreecommitdiff
path: root/streaming.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-05-16 19:02:09 +0700
committerJunio C Hamano <gitster@pobox.com>2012-05-18 14:21:19 -0700
commit754980d02386e09d0277d22284375686c197ddbd (patch)
tree4c869c6395888700a3cc34eae72af0575a121069 /streaming.c
parent9de96815493b577ae791d5113a3e354142ffbcae (diff)
downloadgit-754980d02386e09d0277d22284375686c197ddbd.tar.gz
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>
Diffstat (limited to 'streaming.c')
-rw-r--r--streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming.c b/streaming.c
index 3a3cd1206a..4d978e54e4 100644
--- a/streaming.c
+++ b/streaming.c
@@ -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: