diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-04-16 08:41:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-16 21:32:46 -0700 |
commit | 7c22bc8a18744cbd79436a8ce598a0dd5d49869b (patch) | |
tree | 3daf30ca84cfb8009d6964fd4708480e22eb510d /commit.c | |
parent | 958f964691a250d9a7173f1c0a4c03fd9e71e2aa (diff) | |
download | git-7c22bc8a18744cbd79436a8ce598a0dd5d49869b.tar.gz |
ref-cache: introduce a new type, ref_cache
For now, it just wraps a `ref_entry *` that points at the root of the
tree. Soon it will hold more information.
Add two new functions, `create_ref_cache()` and `free_ref_cache()`.
Make `free_ref_entry()` private.
Change files-backend to use this type to hold its caches.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions