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>
This commit is contained in:
Elijah Newren
2023-05-16 06:33:55 +00:00
committed by Junio C Hamano
parent 750324ddb8
commit bc47f16db2
3 changed files with 4 additions and 4 deletions

View File

@ -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"