diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-18 12:59:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-18 12:59:41 -0700 |
commit | 802f878b86332a7841dab89dfe29e3e6c90979ab (patch) | |
tree | 2f62429ff4ef4eaabef5ecf4daabf768dcfc5e95 /cache.h | |
parent | b12aecda2cbdc7264ce969e28a351a78ea3cb77f (diff) | |
parent | 8b8dfd5132ce91f632b5303c39cda2dfe30790f1 (diff) | |
download | git-802f878b86332a7841dab89dfe29e3e6c90979ab.tar.gz |
Merge branch 'jk/in-pack-size-measurement'
"git cat-file --batch-check=<format>" is added, primarily to allow
on-disk footprint of objects in packfiles (often they are a lot
smaller than their true size, when expressed as deltas) to be
reported.
* jk/in-pack-size-measurement:
pack-revindex: radix-sort the revindex
pack-revindex: use unsigned to store number of objects
cat-file: split --batch input lines on whitespace
cat-file: add %(objectsize:disk) format atom
cat-file: add --batch-check=<format>
cat-file: refactor --batch option parsing
cat-file: teach --batch to stream blob objects
t1006: modernize output comparisons
teach sha1_object_info_extended a "disk_size" query
zero-initialize object_info structs
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1130,6 +1130,7 @@ extern int unpack_object_header(struct packed_git *, struct pack_window **, off_ struct object_info { /* Request */ unsigned long *sizep; + unsigned long *disk_sizep; /* Response */ enum { |