abspath.h: move absolute path functions from cache.h

This is another step towards letting us remove the include of cache.h in
strbuf.c.  It does mean that we also need to add includes of abspath.h
in a number of C files.

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:25:58 +00:00
committed by Junio C Hamano
parent 7ee24e18e5
commit 0b027f6ca7
65 changed files with 98 additions and 28 deletions

View File

@ -1,4 +1,6 @@
#include "cache.h"
#include "git-compat-util.h"
#include "abspath.h"
#include "strbuf.h"
/*
* Do not use this for inspecting *tracked* content. When path is a