summaryrefslogtreecommitdiffstats
path: root/t/helper/test-dump-split-index.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 08:33:55 +0200
committerJunio C Hamano <gitster@pobox.com>2023-06-21 22:39:53 +0200
commitbc47f16db2bccb0398edd93af27086f35a3cb97a (patch)
tree832c2d5646016f16d27b0e78238b2f8918d04869 /t/helper/test-dump-split-index.c
parentmerge.h: move declarations for merge.c from cache.h (diff)
downloadgit-bc47f16db2bccb0398edd93af27086f35a3cb97a.tar.xz
git-bc47f16db2bccb0398edd93af27086f35a3cb97a.zip
repository.h: move declaration of the_index from cache.h
the_index is a global variable defined in repository.c; as such, its declaration feels better suited living in repository.h rather than cache.h. Move it. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r--t/helper/test-dump-split-index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-dump-split-index.c b/t/helper/test-dump-split-index.c
index d1badd7112..63fde9157c 100644
--- a/t/helper/test-dump-split-index.c
+++ b/t/helper/test-dump-split-index.c
@@ -2,6 +2,7 @@
#include "test-tool.h"
#include "cache.h"
#include "hex.h"
+#include "repository.h"
#include "setup.h"
#include "split-index.h"
#include "ewah/ewok.h"