abspath.h: move absolute path functions from cache.h
commit0b027f6ca79cafbc14f36ff1741fc7378282f295
authorElijah Newren <newren@gmail.com>
Tue, 21 Mar 2023 06:25:58 +0000 (21 06:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Mar 2023 17:56:52 +0000 (21 10:56 -0700)
tree8664359f8aadf94ee7cd79839244198e6cbd78d4
parent7ee24e18e55f5459183189a793cb216fb50c20f8
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>
65 files changed:
abspath.c
abspath.h [new file with mode: 0644]
apply.c
archive.c
builtin/am.c
builtin/bugreport.c
builtin/bundle.c
builtin/clean.c
builtin/clone.c
builtin/config.c
builtin/credential-cache--daemon.c
builtin/diagnose.c
builtin/difftool.c
builtin/fast-import.c
builtin/fsmonitor--daemon.c
builtin/gc.c
builtin/hash-object.c
builtin/init-db.c
builtin/log.c
builtin/mailinfo.c
builtin/merge-file.c
builtin/merge.c
builtin/multi-pack-index.c
builtin/mv.c
builtin/rebase.c
builtin/receive-pack.c
builtin/rev-parse.c
builtin/stash.c
builtin/submodule--helper.c
builtin/worktree.c
cache.h
chdir-notify.c
compat/disk.h
compat/mingw.c
compat/simple-ipc/ipc-win32.c
config.c
credential.c
daemon.c
diff-no-index.c
diff.c
dir.c
editor.c
environment.c
exec-cmd.c
gettext.c
lockfile.c
midx.c
object-file.c
parse-options.c
path.c
pathspec.c
remote.c
repository.c
rerere.c
scalar.c
sequencer.c
setup.c
strbuf.c
submodule.c
t/helper/test-path-utils.c
tmp-objdir.c
trace.c
trace2/tr2_dst.c
worktree.c
wrapper.c