summaryrefslogtreecommitdiff
path: root/ref-filter.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:34:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-06-21 20:39:54 (GMT)
commita034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173 (patch)
tree6008071808f6facdcff14778b71637bf70f9067c /ref-filter.c
parent8043418b77a0942cd3291f2bca56a0263b6d9967 (diff)
downloadgit-a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173.zip
git-a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173.tar.gz
git-a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173.tar.bz2
object-store-ll.h: split this header out of object-store.h
The vast majority of files including object-store.h did not need dir.h nor khash.h. Split the header into two files, and let most just depend upon object-store-ll.h, while letting the two callers that need it depend on the full object-store.h. After this patch: $ git grep -h include..object-store | sort | uniq -c 2 #include "object-store.h" 129 #include "object-store-ll.h" Diff best viewed with `--color-moved`. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
-rw-r--r--ref-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c
index 4991cd4..e0d03a9 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -8,7 +8,7 @@
#include "refs.h"
#include "wildmatch.h"
#include "object-name.h"
-#include "object-store.h"
+#include "object-store-ll.h"
#include "oid-array.h"
#include "repository.h"
#include "commit.h"