summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-04-16 06:41:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-17 04:32:45 (GMT)
commit958f964691a250d9a7173f1c0a4c03fd9e71e2aa (patch)
treeb111a4b1ad558b60a61024b432061f63a99ad351 /Makefile
parent9fc3b06311f5a56b1933f046b06b3be22c17069b (diff)
downloadgit-958f964691a250d9a7173f1c0a4c03fd9e71e2aa.zip
git-958f964691a250d9a7173f1c0a4c03fd9e71e2aa.tar.gz
git-958f964691a250d9a7173f1c0a4c03fd9e71e2aa.tar.bz2
refs: split `ref_cache` code into separate files
The `ref_cache` code is currently too tightly coupled to `files-backend`, making the code harder to understand and making it awkward for new code to use `ref_cache` (as we indeed have planned). Start loosening that coupling by splitting `ref_cache` into a separate module. This commit moves code, adds declarations, and changes the visibility of some functions, but doesn't change any code. The modules are still too tightly coupled, but the situation will be improved in subsequent commits. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5f3844e..2f30580 100644
--- a/Makefile
+++ b/Makefile
@@ -807,6 +807,7 @@ LIB_OBJS += reflog-walk.o
LIB_OBJS += refs.o
LIB_OBJS += refs/files-backend.o
LIB_OBJS += refs/iterator.o
+LIB_OBJS += refs/ref-cache.o
LIB_OBJS += ref-filter.o
LIB_OBJS += remote.o
LIB_OBJS += replace_object.o