diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-01 16:07:57 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-01 16:07:57 -0800 |
commit | 5ef0079864f59c87ad67a580cbb868f02f16ffc5 (patch) | |
tree | bff44943dcc8646b8ce581c91d9c1cc8531c3988 /sha1_file.c | |
parent | 5724b041a69cd25a2f8febe92ad6c31fbfaff953 (diff) | |
download | git-jc/split-blob.tar.gz |
WIP (streaming chunked)jc/split-blob
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sha1_file.c b/sha1_file.c index 7355716ec6..07e743804f 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2196,6 +2196,9 @@ int sha1_object_info_extended(const unsigned char *sha1, struct object_info *oi) oi->u.packed.pack = e.p; oi->u.packed.is_delta = (rtype == OBJ_REF_DELTA || rtype == OBJ_OFS_DELTA); + oi->u.packed.is_chunked = + (OBJ_CHUNKED_BLOB <= rtype && + rtype <= OBJ_CHUNKED_BLOB); } return status; |