Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael Barr <b@rr-dav.id.au>2012-09-10 05:48:21 +0400
committerDavid Michael Barr <b@rr-dav.id.au>2012-09-14 09:52:41 +0400
commit60ecdf59d3af87125467fbed97b575f783129f70 (patch)
tree290179cb1427379fde3de43852c3392d5037efaa /src/pack.h
parent687ec68be4afbc060b499c2198c16c39685f1aee (diff)
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.h1
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 */