treewide: remove unnecessary cache.h includes
commitba3d1c73daa02152acf4729d45ca7fe4d71d5747
authorElijah Newren <newren@gmail.com>
Fri, 24 Feb 2023 00:09:22 +0000 (24 00:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 01:25:28 +0000 (23 17:25 -0800)
tree08150fe2c7c6de264cf3e11bda09f027e79f126f
parentf332121e75d3aa2b0ce7efd120ac3ede19e9a733
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>
checkout.h
entry.h
khash.h
oidmap.h
pretty.h
reflog-walk.h
refs/refs-internal.h
remote.h
sequencer.h
xdiff-interface.h