csum-file.h: remove unnecessary inclusion of cache.h

With the change in the last commit to move several functions to
write-or-die.h, csum-file.h no longer needs to include cache.h.
However, removing that include forces several other C files, which
directly or indirectly dependend upon csum-file.h's inclusion of
cache.h, to now be more explicit about their dependencies.

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-03-21 06:26:08 +00:00
committed by Junio C Hamano
parent d48be35ca6
commit ec2f026961
12 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#include "git-compat-util.h"
#include "cache.h"
#include "config.h"
#include "gettext.h"
#include "hex.h"