summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c3
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;