summaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 01:09:34 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-24 02:25:30 +0100
commitfc7bd51b06424694c2e3dd97c11fa095d84d52b1 (patch)
treea62bbcad4c7f321576083a0a9f5eacc0bcd9dbf0 /url.c
parentreplace-object.h: move read_replace_refs declaration from cache.h to here (diff)
downloadgit-fc7bd51b06424694c2e3dd97c11fa095d84d52b1.tar.xz
git-fc7bd51b06424694c2e3dd97c11fa095d84d52b1.zip
treewide: replace cache.h with more direct headers, where possible
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
-rw-r--r--url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.c b/url.c
index bf318c0520..2e1a9f6fee 100644
--- a/url.c
+++ b/url.c
@@ -1,5 +1,6 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "hex.h"
+#include "strbuf.h"
#include "url.h"
int is_urlschemechar(int first_flag, int ch)