diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-01-20 20:43:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-20 20:43:23 +0100 |
commit | 4fd1359158ac633cb3cba74ce5b380eddda38bfd (patch) | |
tree | 65c38d013b8c5ffa62bec6abe7a2838617469a40 /cache.h | |
parent | Merge branch 'mh/notes-allow-reading-treeish' (diff) | |
parent | pack-revindex: store entries directly in packed_git (diff) | |
download | git-4fd1359158ac633cb3cba74ce5b380eddda38bfd.tar.xz git-4fd1359158ac633cb3cba74ce5b380eddda38bfd.zip |
Merge branch 'jk/pack-revindex'
In-core storage of the reverse index for .pack files (which lets
you go from a pack offset to an object name) has been streamlined.
* jk/pack-revindex:
pack-revindex: store entries directly in packed_git
pack-revindex: drop hash table
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ #include "convert.h" #include "trace.h" #include "string-list.h" +#include "pack-revindex.h" #include SHA1_HEADER #ifndef platform_SHA_CTX @@ -1299,6 +1300,7 @@ extern struct packed_git { freshened:1, do_not_close:1; unsigned char sha1[20]; + struct revindex_entry *revindex; /* something like ".git/objects/pack/xxxxx.pack" */ char pack_name[FLEX_ARRAY]; /* more */ } *packed_git; |