Skip to content

Commit

Permalink
Now that cache.h needs strbuf.h, remove useless includes.
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Habouzit <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
MadCoder authored and gitster committed Sep 17, 2007
1 parent 5ecd293 commit ba3ed09
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion archive-tar.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/
#include "cache.h"
#include "commit.h"
#include "strbuf.h"
#include "tar.h"
#include "builtin.h"
#include "archive.h"
Expand Down
1 change: 0 additions & 1 deletion builtin-apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "blob.h"
#include "delta.h"
#include "builtin.h"
#include "strbuf.h"

/*
* --check turns on checking that the working tree matches the
Expand Down
1 change: 0 additions & 1 deletion builtin-blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "cache-tree.h"
#include "path-list.h"
#include "mailmap.h"
#include "strbuf.h"

static char blame_usage[] =
"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"
Expand Down
1 change: 0 additions & 1 deletion builtin-checkout-index.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
*/
#include "builtin.h"
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "cache-tree.h"

Expand Down
1 change: 0 additions & 1 deletion builtin-commit-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "tree.h"
#include "builtin.h"
#include "utf8.h"
#include "strbuf.h"

#define BLOCKING (1ul << 14)

Expand Down
1 change: 0 additions & 1 deletion builtin-fetch--tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "cache.h"
#include "refs.h"
#include "commit.h"
#include "strbuf.h"

static char *get_stdin(void)
{
Expand Down
1 change: 0 additions & 1 deletion builtin-rerere.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "path-list.h"
#include "strbuf.h"
#include "xdiff/xdiff.h"
#include "xdiff-interface.h"

Expand Down
1 change: 0 additions & 1 deletion builtin-stripspace.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "builtin.h"
#include "cache.h"
#include "strbuf.h"

/*
* Returns the length of a line, without trailing spaces.
Expand Down
1 change: 0 additions & 1 deletion builtin-tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "cache.h"
#include "builtin.h"
#include "strbuf.h"
#include "refs.h"
#include "tag.h"
#include "run-command.h"
Expand Down
1 change: 0 additions & 1 deletion builtin-update-index.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "cache-tree.h"
#include "tree-walk.h"
Expand Down
1 change: 0 additions & 1 deletion cache-tree.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"
#include "tree.h"
#include "cache-tree.h"

Expand Down
1 change: 0 additions & 1 deletion convert.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "cache.h"
#include "attr.h"
#include "run-command.h"
#include "strbuf.h"

/*
* convert.c - convert a file when checking it out and checking it in.
Expand Down
1 change: 0 additions & 1 deletion diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "xdiff-interface.h"
#include "color.h"
#include "attr.h"
#include "strbuf.h"

#ifdef NO_FAST_WORKING_DIRECTORY
#define FAST_WORKING_DIRECTORY 0
Expand Down
1 change: 0 additions & 1 deletion fast-import.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ Format of STDIN stream:
#include "pack.h"
#include "refs.h"
#include "csum-file.h"
#include "strbuf.h"
#include "quote.h"

#define PACK_ID_BITS 16
Expand Down
1 change: 0 additions & 1 deletion fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "tag.h"
#include "blob.h"
#include "refs.h"
#include "strbuf.h"

int get_tree = 0;
int get_history = 0;
Expand Down
1 change: 0 additions & 1 deletion imap-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "cache.h"
#include "strbuf.h"

typedef struct store_conf {
char *name;
Expand Down
1 change: 0 additions & 1 deletion mktag.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"
#include "tag.h"

/*
Expand Down
1 change: 0 additions & 1 deletion mktree.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Copyright (c) Junio C Hamano, 2006
*/
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "tree.h"

Expand Down
1 change: 0 additions & 1 deletion sha1_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "tag.h"
#include "tree.h"
#include "refs.h"
#include "strbuf.h"

#ifndef O_NOATIME
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
Expand Down
1 change: 0 additions & 1 deletion strbuf.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"

void strbuf_init(struct strbuf *sb, size_t hint)
{
Expand Down

0 comments on commit ba3ed09

Please sign in to comment.