Browse Source

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>
maint
Pierre Habouzit 18 years ago committed by Junio C Hamano
parent
commit
ba3ed09728
  1. 1
      archive-tar.c
  2. 1
      builtin-apply.c
  3. 1
      builtin-blame.c
  4. 1
      builtin-checkout-index.c
  5. 1
      builtin-commit-tree.c
  6. 1
      builtin-fetch--tool.c
  7. 1
      builtin-rerere.c
  8. 1
      builtin-stripspace.c
  9. 1
      builtin-tag.c
  10. 1
      builtin-update-index.c
  11. 1
      cache-tree.c
  12. 1
      convert.c
  13. 1
      diff.c
  14. 1
      fast-import.c
  15. 1
      fetch.c
  16. 1
      imap-send.c
  17. 1
      mktag.c
  18. 1
      mktree.c
  19. 1
      sha1_file.c
  20. 1
      strbuf.c

1
archive-tar.c

@ -3,7 +3,6 @@ @@ -3,7 +3,6 @@
*/
#include "cache.h"
#include "commit.h"
#include "strbuf.h"
#include "tar.h"
#include "builtin.h"
#include "archive.h"

1
builtin-apply.c

@ -12,7 +12,6 @@ @@ -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

1
builtin-blame.c

@ -18,7 +18,6 @@ @@ -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"

1
builtin-checkout-index.c

@ -38,7 +38,6 @@ @@ -38,7 +38,6 @@
*/
#include "builtin.h"
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "cache-tree.h"


1
builtin-commit-tree.c

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
#include "tree.h"
#include "builtin.h"
#include "utf8.h"
#include "strbuf.h"

#define BLOCKING (1ul << 14)


1
builtin-fetch--tool.c

@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
#include "cache.h"
#include "refs.h"
#include "commit.h"
#include "strbuf.h"

static char *get_stdin(void)
{

1
builtin-rerere.c

@ -1,7 +1,6 @@ @@ -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"


1
builtin-stripspace.c

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#include "builtin.h"
#include "cache.h"
#include "strbuf.h"

/*
* Returns the length of a line, without trailing spaces.

1
builtin-tag.c

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@

#include "cache.h"
#include "builtin.h"
#include "strbuf.h"
#include "refs.h"
#include "tag.h"
#include "run-command.h"

1
builtin-update-index.c

@ -4,7 +4,6 @@ @@ -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"

1
cache-tree.c

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"
#include "tree.h"
#include "cache-tree.h"


1
convert.c

@ -1,7 +1,6 @@ @@ -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.

1
diff.c

@ -9,7 +9,6 @@ @@ -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

1
fast-import.c

@ -149,7 +149,6 @@ Format of STDIN stream: @@ -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

1
fetch.c

@ -6,7 +6,6 @@ @@ -6,7 +6,6 @@
#include "tag.h"
#include "blob.h"
#include "refs.h"
#include "strbuf.h"

int get_tree = 0;
int get_history = 0;

1
imap-send.c

@ -23,7 +23,6 @@ @@ -23,7 +23,6 @@
*/

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

typedef struct store_conf {
char *name;

1
mktag.c

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"
#include "tag.h"

/*

1
mktree.c

@ -4,7 +4,6 @@ @@ -4,7 +4,6 @@
* Copyright (c) Junio C Hamano, 2006
*/
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "tree.h"


1
sha1_file.c

@ -14,7 +14,6 @@ @@ -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__))

1
strbuf.c

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
#include "cache.h"
#include "strbuf.h"

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

Loading…
Cancel
Save