1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-06 01:46:12 +02:00

treewide: be explicit about dependence on strbuf.h

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2023-04-22 20:17:08 +00:00 committed by Junio C Hamano
parent 331b094eec
commit 69a63fe663
13 changed files with 13 additions and 0 deletions

View File

@ -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;

View File

@ -3,6 +3,7 @@
#include "gettext.h"
#include "attr.h"
#include "setup.h"
#include "strbuf.h"
#include "trace2.h"
/*

View 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"

1
date.c
View File

@ -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.

View 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;

View 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)

View 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)
{

View 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)
{

View 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)
{

View 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"

View File

@ -1,5 +1,6 @@
#include "test-tool.h"
#include "cache.h"
#include "strbuf.h"
#include "string-list.h"
/*

View File

@ -5,6 +5,7 @@
#include "abspath.h"
#include "config.h"
#include "gettext.h"
#include "strbuf.h"
#include "trace2.h"
#include "wrapper.h"

1
ws.c
View File

@ -5,6 +5,7 @@
*/
#include "cache.h"
#include "attr.h"
#include "strbuf.h"
static struct whitespace_rule {
const char *rule_name;