mirror of
https://github.com/git/git.git
synced 2024-11-27 03:53:55 +08:00
a034e9106f
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>
12 lines
254 B
C
12 lines
254 B
C
#ifndef OBJECT_STORE_H
|
|
#define OBJECT_STORE_H
|
|
|
|
#include "khash.h"
|
|
#include "dir.h"
|
|
#include "object-store-ll.h"
|
|
|
|
KHASH_INIT(odb_path_map, const char * /* key: odb_path */,
|
|
struct object_directory *, 1, fspathhash, fspatheq)
|
|
|
|
#endif /* OBJECT_STORE_H */
|