зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
cbeab74713
Коммит
fc7bd51b06
4
advice.c
4
advice.c
|
@ -1,6 +1,8 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "color.h"
|
||||
#include "gettext.h"
|
||||
#include "help.h"
|
||||
#include "string-list.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
* decorate.c - decorate a git object with some arbitrary
|
||||
* data.
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "hashmap.h"
|
||||
#include "object.h"
|
||||
#include "decorate.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/*
|
||||
* Copyright (C) 2005 Junio C Hamano
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "gettext.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
|
||||
|
|
|
@ -2,15 +2,19 @@
|
|||
*
|
||||
* Copyright (C) 2005 Junio C Hamano
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "alloc.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "object-store.h"
|
||||
#include "hashmap.h"
|
||||
#include "mem-pool.h"
|
||||
#include "oid-array.h"
|
||||
#include "progress.h"
|
||||
#include "promisor-remote.h"
|
||||
#include "string-list.h"
|
||||
#include "strmap.h"
|
||||
#include "trace2.h"
|
||||
|
||||
/* Table of rename/copy destinations */
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
* Copyright (C) 2021, Google LLC.
|
||||
* Based on diffcore-order.c, which is Copyright (C) 2005, Junio C Hamano
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "gettext.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
|
||||
|
|
3
graph.c
3
graph.c
|
@ -1,4 +1,5 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "gettext.h"
|
||||
#include "config.h"
|
||||
#include "commit.h"
|
||||
#include "color.h"
|
||||
|
|
5
hook.c
5
hook.c
|
@ -1,7 +1,10 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "advice.h"
|
||||
#include "gettext.h"
|
||||
#include "hook.h"
|
||||
#include "run-command.h"
|
||||
#include "config.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
const char *find_hook(const char *name)
|
||||
{
|
||||
|
|
1
quote.c
1
quote.c
|
@ -1,6 +1,7 @@
|
|||
#include "cache.h"
|
||||
#include "alloc.h"
|
||||
#include "quote.h"
|
||||
#include "strbuf.h"
|
||||
#include "strvec.h"
|
||||
|
||||
int quote_path_fully = 1;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "sha1dc_git.h"
|
||||
#include "hex.h"
|
||||
|
||||
#ifdef DC_SHA1_EXTERNAL
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "strbuf.h"
|
||||
#include "unix-socket.h"
|
||||
|
||||
#define DEFAULT_UNIX_STREAM_LISTEN_BACKLOG (5)
|
||||
|
|
3
url.c
3
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)
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "strbuf.h"
|
||||
#include "urlmatch.h"
|
||||
|
||||
#define URL_ALPHA "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
|
|
Загрузка…
Ссылка в новой задаче