THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

config: don't include config.h by default

Stop including config.h by default in cache.h.  Instead only include
config.h in those files which require use of the config system.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tags/v2.14.0-rc0
Brandon Williams Junio C Hamano 2 years ago
parent
commit
b2141fc1d2
100 changed files with 98 additions and 1 deletions
  1. +1
    -0
      advice.c
  2. +1
    -0
      alias.c
  3. +1
    -0
      apply.c
  4. +1
    -0
      archive-tar.c
  5. +1
    -0
      archive-zip.c
  6. +1
    -0
      archive.c
  7. +1
    -0
      attr.c
  8. +1
    -0
      bisect.c
  9. +1
    -0
      branch.c
  10. +1
    -0
      builtin/add.c
  11. +1
    -0
      builtin/am.c
  12. +1
    -0
      builtin/blame.c
  13. +1
    -0
      builtin/branch.c
  14. +1
    -0
      builtin/cat-file.c
  15. +1
    -0
      builtin/check-attr.c
  16. +1
    -0
      builtin/check-ignore.c
  17. +1
    -0
      builtin/check-mailmap.c
  18. +1
    -0
      builtin/checkout-index.c
  19. +1
    -0
      builtin/checkout.c
  20. +1
    -0
      builtin/clean.c
  21. +1
    -0
      builtin/clone.c
  22. +1
    -0
      builtin/column.c
  23. +1
    -0
      builtin/commit-tree.c
  24. +1
    -0
      builtin/commit.c
  25. +1
    -0
      builtin/config.c
  26. +1
    -0
      builtin/count-objects.c
  27. +1
    -0
      builtin/describe.c
  28. +1
    -0
      builtin/diff-files.c
  29. +1
    -0
      builtin/diff-index.c
  30. +1
    -0
      builtin/diff-tree.c
  31. +1
    -0
      builtin/diff.c
  32. +1
    -0
      builtin/difftool.c
  33. +1
    -0
      builtin/fast-export.c
  34. +1
    -0
      builtin/fetch.c
  35. +1
    -0
      builtin/fmt-merge-msg.c
  36. +1
    -0
      builtin/for-each-ref.c
  37. +1
    -0
      builtin/fsck.c
  38. +1
    -0
      builtin/gc.c
  39. +1
    -0
      builtin/grep.c
  40. +1
    -0
      builtin/hash-object.c
  41. +1
    -0
      builtin/help.c
  42. +1
    -0
      builtin/index-pack.c
  43. +1
    -0
      builtin/init-db.c
  44. +1
    -0
      builtin/log.c
  45. +1
    -0
      builtin/ls-files.c
  46. +1
    -0
      builtin/ls-tree.c
  47. +1
    -0
      builtin/merge-base.c
  48. +1
    -0
      builtin/merge-file.c
  49. +1
    -0
      builtin/merge.c
  50. +1
    -0
      builtin/mv.c
  51. +1
    -0
      builtin/name-rev.c
  52. +1
    -0
      builtin/notes.c
  53. +1
    -0
      builtin/pack-objects.c
  54. +1
    -0
      builtin/patch-id.c
  55. +1
    -0
      builtin/pull.c
  56. +1
    -0
      builtin/push.c
  57. +1
    -0
      builtin/read-tree.c
  58. +1
    -0
      builtin/rebase--helper.c
  59. +1
    -0
      builtin/receive-pack.c
  60. +1
    -0
      builtin/reflog.c
  61. +1
    -0
      builtin/remote.c
  62. +1
    -0
      builtin/repack.c
  63. +1
    -0
      builtin/replace.c
  64. +1
    -0
      builtin/rerere.c
  65. +1
    -0
      builtin/reset.c
  66. +1
    -0
      builtin/rev-list.c
  67. +1
    -0
      builtin/rev-parse.c
  68. +1
    -0
      builtin/revert.c
  69. +1
    -0
      builtin/rm.c
  70. +1
    -0
      builtin/send-pack.c
  71. +1
    -0
      builtin/shortlog.c
  72. +1
    -0
      builtin/show-branch.c
  73. +1
    -0
      builtin/stripspace.c
  74. +1
    -0
      builtin/submodule--helper.c
  75. +1
    -0
      builtin/symbolic-ref.c
  76. +1
    -0
      builtin/tag.c
  77. +1
    -0
      builtin/unpack-file.c
  78. +1
    -0
      builtin/unpack-objects.c
  79. +1
    -0
      builtin/update-index.c
  80. +1
    -0
      builtin/update-ref.c
  81. +1
    -0
      builtin/update-server-info.c
  82. +1
    -0
      builtin/var.c
  83. +1
    -0
      builtin/verify-commit.c
  84. +1
    -0
      builtin/verify-pack.c
  85. +1
    -0
      builtin/verify-tag.c
  86. +1
    -0
      builtin/worktree.c
  87. +1
    -0
      builtin/write-tree.c
  88. +0
    -1
      cache.h
  89. +1
    -0
      color.c
  90. +1
    -0
      column.c
  91. +1
    -0
      compat/precompose_utf8.c
  92. +1
    -0
      config.c
  93. +1
    -0
      connect.c
  94. +1
    -0
      convert.c
  95. +1
    -0
      credential-cache--daemon.c
  96. +1
    -0
      credential.c
  97. +1
    -0
      daemon.c
  98. +1
    -0
      diff.c
  99. +1
    -0
      dir.c
  100. +0
    -0
      environment.c

+ 1
- 0
advice.c View File

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

int advice_push_update_rejected = 1;
int advice_push_non_ff_current = 1;

+ 1
- 0
alias.c View File

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

struct config_alias_data {
const char *alias;

+ 1
- 0
apply.c View File

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

#include "cache.h"
#include "config.h"
#include "blob.h"
#include "delta.h"
#include "diff.h"

+ 1
- 0
archive-tar.c View File

@@ -2,6 +2,7 @@
* Copyright (c) 2005, 2006 Rene Scharfe
*/
#include "cache.h"
#include "config.h"
#include "tar.h"
#include "archive.h"
#include "streaming.h"

+ 1
- 0
archive-zip.c View File

@@ -2,6 +2,7 @@
* Copyright (c) 2006 Rene Scharfe
*/
#include "cache.h"
#include "config.h"
#include "archive.h"
#include "streaming.h"
#include "utf8.h"

+ 1
- 0
archive.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "commit.h"
#include "tree-walk.h"

+ 1
- 0
attr.c View File

@@ -9,6 +9,7 @@

#define NO_THE_INDEX_COMPATIBILITY_MACROS
#include "cache.h"
#include "config.h"
#include "exec_cmd.h"
#include "attr.h"
#include "dir.h"

+ 1
- 0
bisect.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "diff.h"
#include "revision.h"

+ 1
- 0
branch.c View File

@@ -1,5 +1,6 @@
#include "git-compat-util.h"
#include "cache.h"
#include "config.h"
#include "branch.h"
#include "refs.h"
#include "remote.h"

+ 1
- 0
builtin/add.c View File

@@ -4,6 +4,7 @@
* Copyright (C) 2006 Linus Torvalds
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "lockfile.h"
#include "dir.h"

+ 1
- 0
builtin/am.c View File

@@ -4,6 +4,7 @@
* Based on git-am.sh by Junio C Hamano.
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "parse-options.h"

+ 1
- 0
builtin/blame.c View File

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

#include "cache.h"
#include "config.h"
#include "refs.h"
#include "builtin.h"
#include "blob.h"

+ 1
- 0
builtin/branch.c View File

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

#include "cache.h"
#include "config.h"
#include "color.h"
#include "refs.h"
#include "commit.h"

+ 1
- 0
builtin/cat-file.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "parse-options.h"
#include "userdiff.h"

+ 1
- 0
builtin/check-attr.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "attr.h"
#include "quote.h"
#include "parse-options.h"

+ 1
- 0
builtin/check-ignore.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "dir.h"
#include "quote.h"
#include "pathspec.h"

+ 1
- 0
builtin/check-mailmap.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "mailmap.h"
#include "parse-options.h"
#include "string-list.h"

+ 1
- 0
builtin/checkout-index.c View File

@@ -5,6 +5,7 @@
*
*/
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "quote.h"
#include "cache-tree.h"

+ 1
- 0
builtin/checkout.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "parse-options.h"
#include "refs.h"

+ 1
- 0
builtin/clean.c View File

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

#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "dir.h"
#include "parse-options.h"
#include "string-list.h"

+ 1
- 0
builtin/clone.c View File

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

#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "parse-options.h"
#include "fetch-pack.h"

+ 1
- 0
builtin/column.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "strbuf.h"
#include "parse-options.h"
#include "string-list.h"

+ 1
- 0
builtin/commit-tree.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "tree.h"
#include "builtin.h"

+ 1
- 0
builtin/commit.c View File

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

#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "cache-tree.h"
#include "color.h"

+ 1
- 0
builtin/config.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "color.h"
#include "parse-options.h"
#include "urlmatch.h"

+ 1
- 0
builtin/count-objects.c View File

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

#include "cache.h"
#include "config.h"
#include "dir.h"
#include "builtin.h"
#include "parse-options.h"

+ 1
- 0
builtin/describe.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "commit.h"
#include "tag.h"

+ 1
- 0
builtin/diff-files.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "diff.h"
#include "commit.h"
#include "revision.h"

+ 1
- 0
builtin/diff-index.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "diff.h"
#include "commit.h"
#include "revision.h"

+ 1
- 0
builtin/diff-tree.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "diff.h"
#include "commit.h"
#include "log-tree.h"

+ 1
- 0
builtin/diff.c View File

@@ -4,6 +4,7 @@
* Copyright (c) 2006 Junio C Hamano
*/
#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "color.h"
#include "commit.h"

+ 1
- 0
builtin/difftool.c View File

@@ -12,6 +12,7 @@
* Copyright (C) 2016 Johannes Schindelin
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "run-command.h"
#include "exec_cmd.h"

+ 1
- 0
builtin/fast-export.c View File

@@ -5,6 +5,7 @@
*/
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "commit.h"
#include "object.h"

+ 1
- 0
builtin/fetch.c View File

@@ -2,6 +2,7 @@
* "git fetch"
*/
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "commit.h"
#include "builtin.h"

+ 1
- 0
builtin/fmt-merge-msg.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "commit.h"
#include "diff.h"

+ 1
- 0
builtin/for-each-ref.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "object.h"
#include "parse-options.h"

+ 1
- 0
builtin/fsck.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "tree.h"
#include "blob.h"

+ 1
- 0
builtin/gc.c View File

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

#include "builtin.h"
#include "config.h"
#include "tempfile.h"
#include "lockfile.h"
#include "parse-options.h"

+ 1
- 0
builtin/grep.c View File

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

+ 1
- 0
builtin/hash-object.c View File

@@ -5,6 +5,7 @@
* Copyright (C) Junio C Hamano, 2005
*/
#include "builtin.h"
#include "config.h"
#include "blob.h"
#include "quote.h"
#include "parse-options.h"

+ 1
- 0
builtin/help.c View File

@@ -2,6 +2,7 @@
* Builtin help command
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "parse-options.h"

+ 1
- 0
builtin/index-pack.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "delta.h"
#include "pack.h"
#include "csum-file.h"

+ 1
- 0
builtin/init-db.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "builtin.h"
#include "exec_cmd.h"

+ 1
- 0
builtin/log.c View File

@@ -5,6 +5,7 @@
* 2006 Junio Hamano
*/
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "color.h"
#include "commit.h"

+ 1
- 0
builtin/ls-files.c View File

@@ -6,6 +6,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "quote.h"
#include "dir.h"
#include "builtin.h"

+ 1
- 0
builtin/ls-tree.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "blob.h"
#include "tree.h"
#include "commit.h"

+ 1
- 0
builtin/merge-base.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "refs.h"
#include "diff.h"

+ 1
- 0
builtin/merge-file.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "xdiff/xdiff.h"
#include "xdiff-interface.h"
#include "parse-options.h"

+ 1
- 0
builtin/merge.c View File

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

#include "cache.h"
#include "config.h"
#include "parse-options.h"
#include "builtin.h"
#include "lockfile.h"

+ 1
- 0
builtin/mv.c View File

@@ -4,6 +4,7 @@
* Copyright (C) 2006 Johannes Schindelin
*/
#include "builtin.h"
#include "config.h"
#include "pathspec.h"
#include "lockfile.h"
#include "dir.h"

+ 1
- 0
builtin/name-rev.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "tag.h"
#include "refs.h"

+ 1
- 0
builtin/notes.c View File

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

#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "notes.h"
#include "blob.h"

+ 1
- 0
builtin/pack-objects.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "attr.h"
#include "object.h"
#include "blob.h"

+ 1
- 0
builtin/patch-id.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"

static void flush_current_id(int patchlen, struct object_id *id, struct object_id *result)
{

+ 1
- 0
builtin/pull.c View File

@@ -6,6 +6,7 @@
* Fetch one or more remote refs and merge it/them into the current HEAD.
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "parse-options.h"
#include "exec_cmd.h"

+ 1
- 0
builtin/push.c View File

@@ -2,6 +2,7 @@
* "git push"
*/
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "run-command.h"
#include "builtin.h"

+ 1
- 0
builtin/read-tree.c View File

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

#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "object.h"
#include "tree.h"

+ 1
- 0
builtin/rebase--helper.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "parse-options.h"
#include "sequencer.h"


+ 1
- 0
builtin/receive-pack.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "pack.h"
#include "refs.h"

+ 1
- 0
builtin/reflog.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "commit.h"
#include "refs.h"

+ 1
- 0
builtin/remote.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "parse-options.h"
#include "transport.h"
#include "remote.h"

+ 1
- 0
builtin/repack.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "dir.h"
#include "parse-options.h"
#include "run-command.h"

+ 1
- 0
builtin/replace.c View File

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

#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "refs.h"
#include "parse-options.h"

+ 1
- 0
builtin/rerere.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "dir.h"
#include "parse-options.h"
#include "string-list.h"

+ 1
- 0
builtin/reset.c View File

@@ -8,6 +8,7 @@
* Copyright (c) 2005, 2006 Linus Torvalds and Junio C Hamano
*/
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "tag.h"
#include "object.h"

+ 1
- 0
builtin/rev-list.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "diff.h"
#include "revision.h"

+ 1
- 0
builtin/rev-parse.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "refs.h"
#include "quote.h"

+ 1
- 0
builtin/revert.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "parse-options.h"
#include "diff.h"

+ 1
- 0
builtin/rm.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds 2006
*/
#include "builtin.h"
#include "config.h"
#include "lockfile.h"
#include "dir.h"
#include "cache-tree.h"

+ 1
- 0
builtin/send-pack.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "commit.h"
#include "refs.h"
#include "pkt-line.h"

+ 1
- 0
builtin/shortlog.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "diff.h"
#include "string-list.h"

+ 1
- 0
builtin/show-branch.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "commit.h"
#include "refs.h"
#include "builtin.h"

+ 1
- 0
builtin/stripspace.c View File

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


+ 1
- 0
builtin/submodule--helper.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "parse-options.h"
#include "quote.h"
#include "pathspec.h"

+ 1
- 0
builtin/symbolic-ref.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"
#include "cache.h"
#include "refs.h"
#include "parse-options.h"

+ 1
- 0
builtin/tag.c View File

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

#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "refs.h"
#include "tag.h"

+ 1
- 0
builtin/unpack-file.c View File

@@ -1,4 +1,5 @@
#include "builtin.h"
#include "config.h"

static char *create_temp_file(unsigned char *sha1)
{

+ 1
- 0
builtin/unpack-objects.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "object.h"
#include "delta.h"
#include "pack.h"

+ 1
- 0
builtin/update-index.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "quote.h"
#include "cache-tree.h"

+ 1
- 0
builtin/update-ref.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "refs.h"
#include "builtin.h"
#include "parse-options.h"

+ 1
- 0
builtin/update-server-info.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "parse-options.h"


+ 1
- 0
builtin/var.c View File

@@ -4,6 +4,7 @@
* Copyright (C) Eric Biederman, 2005
*/
#include "builtin.h"
#include "config.h"

static const char var_usage[] = "git var (-l | <variable>)";


+ 1
- 0
builtin/verify-commit.c View File

@@ -6,6 +6,7 @@
* Based on git-verify-tag
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "commit.h"
#include "run-command.h"

+ 1
- 0
builtin/verify-pack.c View File

@@ -1,5 +1,6 @@
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "run-command.h"
#include "parse-options.h"


+ 1
- 0
builtin/verify-tag.c View File

@@ -6,6 +6,7 @@
* Based on git-verify-tag.sh
*/
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "tag.h"
#include "run-command.h"

+ 1
- 0
builtin/worktree.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "dir.h"
#include "parse-options.h"

+ 1
- 0
builtin/write-tree.c View File

@@ -5,6 +5,7 @@
*/
#include "builtin.h"
#include "cache.h"
#include "config.h"
#include "tree.h"
#include "cache-tree.h"
#include "parse-options.h"

+ 0
- 1
cache.h View File

@@ -11,7 +11,6 @@
#include "string-list.h"
#include "pack-revindex.h"
#include "hash.h"
#include "config.h"

#ifndef platform_SHA_CTX
/*

+ 1
- 0
color.c View File

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

static int git_use_color_default = GIT_COLOR_AUTO;

+ 1
- 0
column.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "column.h"
#include "string-list.h"
#include "parse-options.h"

+ 1
- 0
compat/precompose_utf8.c View File

@@ -6,6 +6,7 @@
#define PRECOMPOSE_UNICODE_C

#include "cache.h"
#include "config.h"
#include "utf8.h"
#include "precompose_utf8.h"


+ 1
- 0
config.c View File

@@ -6,6 +6,7 @@
*
*/
#include "cache.h"
#include "config.h"
#include "lockfile.h"
#include "exec_cmd.h"
#include "strbuf.h"

+ 1
- 0
connect.c View File

@@ -1,5 +1,6 @@
#include "git-compat-util.h"
#include "cache.h"
#include "config.h"
#include "pkt-line.h"
#include "quote.h"
#include "refs.h"

+ 1
- 0
convert.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "attr.h"
#include "run-command.h"
#include "quote.h"

+ 1
- 0
credential-cache--daemon.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "tempfile.h"
#include "credential.h"
#include "unix-socket.h"

+ 1
- 0
credential.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "credential.h"
#include "string-list.h"
#include "run-command.h"

+ 1
- 0
daemon.c View File

@@ -1,4 +1,5 @@
#include "cache.h"
#include "config.h"
#include "pkt-line.h"
#include "run-command.h"
#include "strbuf.h"

+ 1
- 0
diff.c View File

@@ -2,6 +2,7 @@
* Copyright (C) 2005 Junio C Hamano
*/
#include "cache.h"
#include "config.h"
#include "tempfile.h"
#include "quote.h"
#include "diff.h"

+ 1
- 0
dir.c View File

@@ -8,6 +8,7 @@
* Junio Hamano, 2005-2006
*/
#include "cache.h"
#include "config.h"
#include "dir.h"
#include "attr.h"
#include "refs.h"

+ 0
- 0
environment.c View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save