summaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 00:09:24 +0000
committerJunio C Hamano <gitster@pobox.com>2023-02-23 17:25:28 -0800
commit36bf19589055fb71aac0ed6719dfe5b385adc2bf (patch)
tree7763ee134c0aeb3cbe8d4a5eb7bdeaed5ff4e31d /diffcore-rename.c
parent15db4e7f4ac20cc41902a2479c7784fff8edf2e9 (diff)
downloadgit-36bf19589055fb71aac0ed6719dfe5b385adc2bf.tar.gz
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 'diffcore-rename.c')
-rw-r--r--diffcore-rename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diffcore-rename.c b/diffcore-rename.c
index c0422d9e70..62c0299984 100644
--- a/diffcore-rename.c
+++ b/diffcore-rename.c
@@ -3,6 +3,7 @@
* Copyright (C) 2005 Junio C Hamano
*/
#include "cache.h"
+#include "alloc.h"
#include "diff.h"
#include "diffcore.h"
#include "object-store.h"