diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 08:34:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 22:39:54 +0200 |
commit | a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173 (patch) | |
tree | 6008071808f6facdcff14778b71637bf70f9067c /reachable.c | |
parent | khash: name the structs that khash declares (diff) | |
download | git-a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173.tar.xz git-a034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173.zip |
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 'reachable.c')
-rw-r--r-- | reachable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reachable.c b/reachable.c index 55bb114353..434f09e9eb 100644 --- a/reachable.c +++ b/reachable.c @@ -13,7 +13,7 @@ #include "list-objects.h" #include "packfile.h" #include "worktree.h" -#include "object-store.h" +#include "object-store-ll.h" #include "pack-bitmap.h" #include "pack-mtimes.h" |