Now that cache.h needs strbuf.h, remove useless includes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Pierre Habouzit committed
Sep 15, 2007 at 15:56 UTC
ba3ed09728cb25e004d3b732de14fca8aeb602f6
20 files changed
-20
archive-tar.c
-1
@@ -3,7 +3,6 @@
3
*/
4
#include "cache.h"
5
#include "commit.h"
6
-#include "strbuf.h"
6
#include "tar.h"
7
#include "builtin.h"
8
#include "archive.h"
builtin-apply.c
-1
@@ -12,7 +12,6 @@
12
#include "blob.h"
13
#include "delta.h"
14
#include "builtin.h"
15
-#include "strbuf.h"
15
16
/*
17
* --check turns on checking that the working tree matches the
builtin-blame.c
-1
@@ -18,7 +18,6 @@
18
#include "cache-tree.h"
19
#include "path-list.h"
20
#include "mailmap.h"
21
-#include "strbuf.h"
21
22
static char blame_usage[] =
23
"git-blame [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-p] [-w] [-L n,m] [-S <revs-file>] [-M] [-C] [-C] [--contents <filename>] [--incremental] [commit] [--] file\n"
builtin-checkout-index.c
-1
@@ -38,7 +38,6 @@
38
*/
39
#include "builtin.h"
40
#include "cache.h"
41
-#include "strbuf.h"
41
#include "quote.h"
42
#include "cache-tree.h"
43
builtin-commit-tree.c
-1
@@ -8,7 +8,6 @@
8
#include "tree.h"
9
#include "builtin.h"
10
#include "utf8.h"
11
-#include "strbuf.h"
11
12
#define BLOCKING (1ul << 14)
13
builtin-fetch--tool.c
-1
@@ -2,7 +2,6 @@
2
#include "cache.h"
3
#include "refs.h"
4
#include "commit.h"
5
-#include "strbuf.h"
5
6
static char *get_stdin(void)
7
{
builtin-rerere.c
-1
@@ -1,7 +1,6 @@
1
#include "builtin.h"
2
#include "cache.h"
3
#include "path-list.h"
4
-#include "strbuf.h"
4
#include "xdiff/xdiff.h"
5
#include "xdiff-interface.h"
6
builtin-stripspace.c
-1
@@ -1,6 +1,5 @@
1
#include "builtin.h"
2
#include "cache.h"
3
-#include "strbuf.h"
3
4
/*
5
* Returns the length of a line, without trailing spaces.
builtin-tag.c
-1
@@ -8,7 +8,6 @@
8
9
#include "cache.h"
10
#include "builtin.h"
11
-#include "strbuf.h"
11
#include "refs.h"
12
#include "tag.h"
13
#include "run-command.h"
builtin-update-index.c
-1
@@ -4,7 +4,6 @@
4
* Copyright (C) Linus Torvalds, 2005
5
*/
6
#include "cache.h"
7
-#include "strbuf.h"
7
#include "quote.h"
8
#include "cache-tree.h"
9
#include "tree-walk.h"
cache-tree.c
-1
@@ -1,5 +1,4 @@
1
#include "cache.h"
2
-#include "strbuf.h"
2
#include "tree.h"
3
#include "cache-tree.h"
4
convert.c
-1
@@ -1,7 +1,6 @@
1
#include "cache.h"
2
#include "attr.h"
3
#include "run-command.h"
4
-#include "strbuf.h"
4
5
/*
6
* convert.c - convert a file when checking it out and checking it in.
diff.c
-1
@@ -9,7 +9,6 @@
9
#include "xdiff-interface.h"
10
#include "color.h"
11
#include "attr.h"
12
-#include "strbuf.h"
12
13
#ifdef NO_FAST_WORKING_DIRECTORY
14
#define FAST_WORKING_DIRECTORY 0
fast-import.c
-1
@@ -149,7 +149,6 @@ Format of STDIN stream:
149
#include "pack.h"
150
#include "refs.h"
151
#include "csum-file.h"
152
-#include "strbuf.h"
152
#include "quote.h"
153
154
#define PACK_ID_BITS 16
fetch.c
-1
@@ -6,7 +6,6 @@
6
#include "tag.h"
7
#include "blob.h"
8
#include "refs.h"
9
-#include "strbuf.h"
9
10
int get_tree = 0;
11
int get_history = 0;
imap-send.c
-1
@@ -23,7 +23,6 @@
23
*/
24
25
#include "cache.h"
26
-#include "strbuf.h"
26
27
typedef struct store_conf {
28
char *name;
mktag.c
-1
@@ -1,5 +1,4 @@
1
#include "cache.h"
2
-#include "strbuf.h"
2
#include "tag.h"
3
4
/*
mktree.c
-1
@@ -4,7 +4,6 @@
4
* Copyright (c) Junio C Hamano, 2006
5
*/
6
#include "cache.h"
7
-#include "strbuf.h"
7
#include "quote.h"
8
#include "tree.h"
9
sha1_file.c
-1
@@ -14,7 +14,6 @@
14
#include "tag.h"
15
#include "tree.h"
16
#include "refs.h"
17
-#include "strbuf.h"
17
18
#ifndef O_NOATIME
19
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
strbuf.c
-1
@@ -1,5 +1,4 @@
1
#include "cache.h"
2
-#include "strbuf.h"
2
3
void strbuf_init(struct strbuf *sb, size_t hint)
4
{