diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-05-11 03:50:34 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-05-13 02:48:48 +0200 |
commit | a3ffbf230e454309c96961a182520a53f555d356 (patch) | |
tree | dd4a0d4b86b6db7e71f9dcb6de5f39ad39a774cd /src/pack.h | |
parent | 9dbd150f5f499bbf768d65c4ebb596651e77a1b8 (diff) | |
download | libgit2-a3ffbf230e454309c96961a182520a53f555d356.tar.gz |
pack: expose a cached delta base directly
Instead of going through a special entry in the chain, let's pass it as
an output parameter.
Diffstat (limited to 'src/pack.h')
-rw-r--r-- | src/pack.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pack.h b/src/pack.h index e86889d1b..610e70c18 100644 --- a/src/pack.h +++ b/src/pack.h @@ -62,14 +62,10 @@ typedef struct git_pack_cache_entry { } git_pack_cache_entry; struct pack_chain_elem { - int cached; git_off_t base_key; - /* if we don't have it cached we have this */ git_off_t offset; size_t size; git_otype type; - /* if cached, we have this instead */ - git_pack_cache_entry *cached_entry; }; typedef git_array_t(struct pack_chain_elem) git_dependency_chain; |