diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-24 01:09:24 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 02:25:28 +0100 |
commit | 36bf19589055fb71aac0ed6719dfe5b385adc2bf (patch) | |
tree | 7763ee134c0aeb3cbe8d4a5eb7bdeaed5ff4e31d /fmt-merge-msg.c | |
parent | treewide: remove unnecessary cache.h includes in source files (diff) | |
download | git-36bf19589055fb71aac0ed6719dfe5b385adc2bf.tar.xz git-36bf19589055fb71aac0ed6719dfe5b385adc2bf.zip |
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>
Diffstat (limited to 'fmt-merge-msg.c')
-rw-r--r-- | fmt-merge-msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fmt-merge-msg.c b/fmt-merge-msg.c index f317f12990..d4d6fd3d9d 100644 --- a/fmt-merge-msg.c +++ b/fmt-merge-msg.c @@ -1,4 +1,5 @@ #include "git-compat-util.h" +#include "alloc.h" #include "config.h" #include "refs.h" #include "object-store.h" |