]> git.ipfire.org Git - thirdparty/git.git/commit - list-objects-filter-options.c
alloc.h: move ALLOC_GROW() functions from cache.h
authorElijah Newren <newren@gmail.com>
Fri, 24 Feb 2023 00:09:24 +0000 (00:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 01:25:28 +0000 (17:25 -0800)
commit36bf19589055fb71aac0ed6719dfe5b385adc2bf
tree7763ee134c0aeb3cbe8d4a5eb7bdeaed5ff4e31d
parent15db4e7f4ac20cc41902a2479c7784fff8edf2e9
alloc.h: move ALLOC_GROW() functions from cache.h

This allows us to replace includes of cache.h with includes of the much
smaller alloc.h in many places.  It does mean that we also need to add
includes of alloc.h in a number of C files.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
91 files changed:
add-patch.c
alias.c
alloc.h
apply.c
archive-tar.c
archive.c
attr.c
builtin/blame.c
builtin/cat-file.c
builtin/checkout--worker.c
builtin/config.c
builtin/credential-cache--daemon.c
builtin/fetch-pack.c
builtin/fsmonitor--daemon.c
builtin/grep.c
builtin/index-pack.c
builtin/log.c
builtin/merge.c
builtin/mktree.c
builtin/mv.c
builtin/name-rev.c
builtin/pack-objects.c
builtin/repack.c
builtin/rev-parse.c
builtin/revert.c
builtin/rm.c
builtin/submodule--helper.c
bulk-checkin.c
cache-tree.c
cache.h
chunk-format.c
commit-reach.c
compat/mingw.c
config.c
daemon.c
delta-islands.c
diff.c
diffcore-rename.c
dir-iterator.c
dir.c
ewah/bitmap.c
ewah/ewah_bitmap.c
fetch-pack.c
fmt-merge-msg.c
fsck.c
fsmonitor-settings.c
help.c
http-backend.c
line-log.c
list-objects-filter-options.c
list-objects-filter.c
midx.c
object-file.c
oid-array.c
pack-bitmap-write.c
pack-bitmap.c
pack-objects.c
packfile.c
parallel-checkout.c
pretty.c
prio-queue.c
quote.c
read-cache.c
ref-filter.c
reflog-walk.c
refs.c
refs/packed-backend.c
refs/ref-cache.c
refspec.c
remote-curl.c
remote.c
rerere.c
revision.c
sequencer.c
server-info.c
shallow.c
sigchain.c
sparse-index.c
split-index.c
strbuf.c
string-list.c
strvec.c
submodule-config.c
submodule.c
t/helper/test-reach.c
trace2/tr2_tls.c
trailer.c
transport.c
tree-walk.c
userdiff.c
worktree.c