]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: be explicit about dependence on strbuf.h
authorElijah Newren <newren@gmail.com>
Sat, 22 Apr 2023 20:17:08 +0000 (20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2023 19:47:31 +0000 (12:47 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 files changed:
color.c
common-main.c
credential.c
date.c
ll-merge.c
split-index.c
t/helper/test-mergesort.c
t/helper/test-oid-array.c
t/helper/test-oidtree.c
t/helper/test-parse-options.c
t/helper/test-string-list.c
wrapper.c
ws.c

diff --git a/color.c b/color.c
index 6031998d3ea0bc729b048b908fd5344d2e764329..f8a25ca807b3e85e6f758f2c3a931785b2f925c2 100644 (file)
--- a/color.c
+++ b/color.c
@@ -5,6 +5,7 @@
 #include "gettext.h"
 #include "hex.h"
 #include "pager.h"
+#include "strbuf.h"
 
 static int git_use_color_default = GIT_COLOR_AUTO;
 int color_stdout_is_tty = -1;
index f319317353584348ec476111b7560d0b55c5d825..601a875e2fbc7d6d5e244ea9a35654afeec733c0 100644 (file)
@@ -3,6 +3,7 @@
 #include "gettext.h"
 #include "attr.h"
 #include "setup.h"
+#include "strbuf.h"
 #include "trace2.h"
 
 /*
index e6417bf88046e3afc28bc66460efc626e523ffd2..42194efc9e0717415745138a46dae3e37440e439 100644 (file)
@@ -8,6 +8,7 @@
 #include "url.h"
 #include "prompt.h"
 #include "sigchain.h"
+#include "strbuf.h"
 #include "urlmatch.h"
 #include "git-compat-util.h"
 
diff --git a/date.c b/date.c
index e944c8905af68d572026730fb02388158df955ff..bc030da012f04d2dbf86a4c783892433aabecee5 100644 (file)
--- a/date.c
+++ b/date.c
@@ -8,6 +8,7 @@
 #include "date.h"
 #include "gettext.h"
 #include "pager.h"
+#include "strbuf.h"
 
 /*
  * This is like mktime, but without normalization of tm_wday and tm_yday.
index 28bc94c45d63015bd6eb7f971d4e78bf55a4deba..85517e668e3747a158a43180bd20f0b77b198cdb 100644 (file)
@@ -12,6 +12,7 @@
 #include "run-command.h"
 #include "ll-merge.h"
 #include "quote.h"
+#include "strbuf.h"
 #include "wrapper.h"
 
 struct ll_merge_driver;
index 5602b74994b0cb84c109ecc04dbe2e692c064eaa..3fc4e91485a775c241a07dacc3cb3fca3272f420 100644 (file)
@@ -3,6 +3,7 @@
 #include "gettext.h"
 #include "mem-pool.h"
 #include "split-index.h"
+#include "strbuf.h"
 #include "ewah/ewok.h"
 
 struct split_index *init_split_index(struct index_state *istate)
index 737e0c52358c9248d9a4b7cb68df8e5cc6dcca47..3aabae6c1c4a5cf0e6c81244d6d119a269338207 100644 (file)
@@ -2,6 +2,7 @@
 #include "cache.h"
 #include "mem-pool.h"
 #include "mergesort.h"
+#include "strbuf.h"
 
 static uint32_t minstd_rand(uint32_t *state)
 {
index fd6f73ea03ba46a5d2005ca19aab352e9b4b9f99..ea3bf278984ffa88423af44d929359197aa184cc 100644 (file)
@@ -3,6 +3,7 @@
 #include "hex.h"
 #include "oid-array.h"
 #include "setup.h"
+#include "strbuf.h"
 
 static int print_oid(const struct object_id *oid, void *data)
 {
index edcb7e9f44864d33b2baff3ea0d4879b26969d6a..796c9811e0fd01f94ee9059de37c87463e5d330a 100644 (file)
@@ -3,6 +3,7 @@
 #include "hex.h"
 #include "oidtree.h"
 #include "setup.h"
+#include "strbuf.h"
 
 static enum cb_next print_oid(const struct object_id *oid, void *data)
 {
index 506835521a463aebd1a06259cf96e05d71e3833b..20a81a1eb2145af4d015d0bd8b52027b9de4859a 100644 (file)
@@ -1,6 +1,7 @@
 #include "test-tool.h"
 #include "cache.h"
 #include "parse-options.h"
+#include "strbuf.h"
 #include "string-list.h"
 #include "trace2.h"
 
index 2123dda85bf10033dcbf0d801028b3705e73a507..959f27c74c61fb39057a0982424e2be32d66bc88 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "strbuf.h"
 #include "string-list.h"
 
 /*
index c130d7518bf489aa2aa20cbf07b15a00d0b99489..e80f83498d840bfcb38470942e89e45dfb22acee 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -5,6 +5,7 @@
 #include "abspath.h"
 #include "config.h"
 #include "gettext.h"
+#include "strbuf.h"
 #include "trace2.h"
 #include "wrapper.h"
 
diff --git a/ws.c b/ws.c
index da3d0e28cbba9cb5e5d459f8e807a9a0fcf42102..036ccb8ee9d505a0f5765e25bc0040febb96b65f 100644 (file)
--- a/ws.c
+++ b/ws.c
@@ -5,6 +5,7 @@
  */
 #include "cache.h"
 #include "attr.h"
+#include "strbuf.h"
 
 static struct whitespace_rule {
        const char *rule_name;