aboutsummaryrefslogtreecommitdiff
path: root/streaming.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-29 13:08:30 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-29 13:08:30 -0700
commit32bd3a514b38d2c1ecbe84a0475374559e549ebb (patch)
treea476264f3e4efda204872c615d1d718dae385925 /streaming.c
parentbefc5ed3799cb6fcbaa7de03e7fa1760e846853c (diff)
parentc9018b0305a56436c85b292edbeacff04b0ebb5d (diff)
downloadgit-32bd3a514b38d2c1ecbe84a0475374559e549ebb.tar.xz
Merge branch 'ng/pack-objects-cleanup'
By Nguyễn Thái Ngọc Duy * ng/pack-objects-cleanup: pack-objects: refactor write_object() into helper functions pack-objects, streaming: turn "xx >= big_file_threshold" to ".. > .."
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: