git-commit-vandalism/refs
Elijah Newren ba3d1c73da 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>
2023-02-23 17:25:28 -08:00
..
debug.c treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
files-backend.c refs: unify parse_worktree_ref() and ref_type() 2022-09-19 11:11:11 -07:00
iterator.c git-compat-util.h: use "UNUSED", not "UNUSED(var)" 2022-09-01 10:49:48 -07:00
packed-backend.c Merge branch 'ps/fsync-refs-fix' 2023-01-02 21:37:19 +09:00
packed-backend.h Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" 2022-04-13 15:51:33 -07:00
ref-cache.c Merge branch 'ep/maint-equals-null-cocci' 2022-05-20 15:26:59 -07:00
ref-cache.h Merge branch 'jt/no-abuse-alternate-odb-for-submodules' 2021-10-25 16:06:56 -07:00
refs-internal.h treewide: remove unnecessary cache.h includes 2023-02-23 17:25:28 -08:00