Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 09:33:56 +0300
committerJunio C Hamano <gitster@pobox.com>2023-06-21 23:39:53 +0300
commit08c46a499aec5b6459fb1d55ff90403c7dc2ee5a (patch)
tree8fdf8c5a68738d18a93e5c7e0b1a3bc8ef1bc06c /read-cache.c
parentbc47f16db2bccb0398edd93af27086f35a3cb97a (diff)
read-cache*.h: move declarations for read-cache.c functions from cache.h
For the functions defined in read-cache.c, move their declarations from cache.h to a new header, read-cache-ll.h. Also move some related inline functions from cache.h to read-cache.h. The purpose of the read-cache-ll.h/read-cache.h split is that about 70% of the sites don't need the inline functions and the extra headers they include. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read-cache.c b/read-cache.c
index 3fad839fb6..42f27b0664 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -28,6 +28,7 @@
#include "name-hash.h"
#include "object-name.h"
#include "preload-index.h"
+#include "read-cache.h"
#include "resolve-undo.h"
#include "revision.h"
#include "run-command.h"