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>
This commit is contained in:
committed by
Junio C Hamano
parent
8043418b77
commit
a034e9106f
@ -2,7 +2,7 @@
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "oidmap.h"
|
||||
#include "object-store.h"
|
||||
#include "object-store-ll.h"
|
||||
#include "replace-object.h"
|
||||
#include "refs.h"
|
||||
#include "repository.h"
|
||||
|
||||
Reference in New Issue
Block a user