diff options
author | David Michael Barr <b@rr-dav.id.au> | 2012-09-10 11:48:21 +1000 |
---|---|---|
committer | David Michael Barr <b@rr-dav.id.au> | 2012-09-14 15:52:41 +1000 |
commit | 60ecdf59d3af87125467fbed97b575f783129f70 (patch) | |
tree | 290179cb1427379fde3de43852c3392d5037efaa /src/pack.h | |
parent | 687ec68be4afbc060b499c2198c16c39685f1aee (diff) | |
download | libgit2-60ecdf59d3af87125467fbed97b575f783129f70.tar.gz |
pack: iterate objects in offset order
Compute the ordering on demand and persist until the index is freed.
Diffstat (limited to 'src/pack.h')
-rw-r--r-- | src/pack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack.h b/src/pack.h index 178545675..af87b7cd5 100644 --- a/src/pack.h +++ b/src/pack.h @@ -64,6 +64,7 @@ struct git_pack_file { unsigned pack_local:1, pack_keep:1, has_cache:1; git_oid sha1; git_vector cache; + git_oid **oids; /* something like ".git/objects/pack/xxxxx.pack" */ char pack_name[GIT_FLEX_ARRAY]; /* more */ |