]> git.ipfire.org Git - thirdparty/git.git/commit - name-hash.c
read-cache*.h: move declarations for read-cache.c functions from cache.h
authorElijah Newren <newren@gmail.com>
Tue, 16 May 2023 06:33:56 +0000 (06:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Jun 2023 20:39:53 +0000 (13:39 -0700)
commit08c46a499aec5b6459fb1d55ff90403c7dc2ee5a
tree8fdf8c5a68738d18a93e5c7e0b1a3bc8ef1bc06c
parentbc47f16db2bccb0398edd93af27086f35a3cb97a
read-cache*.h: move declarations for read-cache.c functions from cache.h

For the functions defined in read-cache.c, move their declarations from
cache.h to a new header, read-cache-ll.h.  Also move some related inline
functions from cache.h to read-cache.h.  The purpose of the
read-cache-ll.h/read-cache.h split is that about 70% of the sites don't
need the inline functions and the extra headers they include.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
77 files changed:
add-interactive.c
add-patch.c
apply.c
attr.c
blame.c
builtin/add.c
builtin/checkout--worker.c
builtin/checkout-index.c
builtin/checkout.c
builtin/clean.c
builtin/commit.c
builtin/describe.c
builtin/diff-tree.c
builtin/diff.c
builtin/difftool.c
builtin/fsck.c
builtin/grep.c
builtin/ls-files.c
builtin/merge-index.c
builtin/mv.c
builtin/pull.c
builtin/rev-parse.c
builtin/rm.c
builtin/stash.c
builtin/submodule--helper.c
builtin/update-index.c
builtin/worktree.c
cache-tree.c
cache.h
compat/precompose_utf8.c
compat/sha1-chunked.c
config.c
convert.c
diff-lib.c
diff.c
diffcore-break.c
environment.h
fsmonitor.h
git.c
hash-lookup.c
merge-ort-wrappers.c
merge-ort.c
name-hash.c
object-name.c
oidmap.h
parallel-checkout.c
pathspec.c
preload-index.c
read-cache-ll.h [new file with mode: 0644]
read-cache.c
read-cache.h [new file with mode: 0644]
repository.c
rerere.c
resolve-undo.c
revision.c
split-index.c
submodule.c
t/helper/test-cache-tree.c
t/helper/test-dump-cache-tree.c
t/helper/test-dump-fsmonitor.c
t/helper/test-dump-split-index.c
t/helper/test-dump-untracked-cache.c
t/helper/test-fast-rebase.c
t/helper/test-fsmonitor-client.c
t/helper/test-hash-speed.c
t/helper/test-index-version.c
t/helper/test-lazy-init-name-hash.c
t/helper/test-path-utils.c
t/helper/test-read-cache.c
t/helper/test-scrap-cache-tree.c
t/helper/test-sha1.c
t/helper/test-sha256.c
t/helper/test-strcmp-offset.c
t/helper/test-write-cache.c
unpack-trees.c
unpack-trees.h
wt-status.c