summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-18 19:59:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-18 19:59:41 (GMT)
commit802f878b86332a7841dab89dfe29e3e6c90979ab (patch)
tree2f62429ff4ef4eaabef5ecf4daabf768dcfc5e95 /cache.h
parentb12aecda2cbdc7264ce969e28a351a78ea3cb77f (diff)
parent8b8dfd5132ce91f632b5303c39cda2dfe30790f1 (diff)
downloadgit-802f878b86332a7841dab89dfe29e3e6c90979ab.zip
git-802f878b86332a7841dab89dfe29e3e6c90979ab.tar.gz
git-802f878b86332a7841dab89dfe29e3e6c90979ab.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index dd0fb33..2d06169 100644
--- a/cache.h
+++ b/cache.h
@@ -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 {