treewide: remove unnecessary cache.h includes
We had several header files include cache.h unnecessarily. Remove
those. These have all been verified via both ensuring that
gcc -E $HEADER | grep '"cache.h"'
found no hits and that
cat >temp.c <<EOF &&
#include "git-compat-util.h"
#include "$HEADER"
int main() {}
EOF
gcc -c temp.c
successfully compiles without warnings.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
f332121e75
commit
ba3d1c73da
@@ -1,8 +1,6 @@
|
||||
#ifndef REFLOG_WALK_H
|
||||
#define REFLOG_WALK_H
|
||||
|
||||
#include "cache.h"
|
||||
|
||||
struct commit;
|
||||
struct reflog_walk_info;
|
||||
struct date_mode;
|
||||
|
||||
Reference in New Issue
Block a user