summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-01-14 12:37:19 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-14 12:37:19 -0800
commit09deda3746a0c726a79a6e2db4fd8d864aa08e51 (patch)
treed1046bd34b6e9cebc9f7ece353f92417ffd8307c
parentMerge branch 'ak/doc-add-v-n-options' (diff)
parentcat-file: remove unused includes (diff)
downloadtgif-09deda3746a0c726a79a6e2db4fd8d864aa08e51.tar.xz
Merge branch 'ak/fewer-includes'
* ak/fewer-includes: cat-file: remove unused includes git.c: remove unnecessary #includes
-rw-r--r--builtin/cat-file.c4
-rw-r--r--git.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c
index f8d81291b9..750b5a24b4 100644
--- a/builtin/cat-file.c
+++ b/builtin/cat-file.c
@@ -4,12 +4,8 @@
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
-#include "exec_cmd.h"
-#include "tag.h"
-#include "tree.h"
#include "builtin.h"
#include "parse-options.h"
-#include "diff.h"
#include "userdiff.h"
#include "streaming.h"
diff --git a/git.c b/git.c
index 82d7a1cfee..6b5ae6a2ac 100644
--- a/git.c
+++ b/git.c
@@ -1,10 +1,7 @@
#include "builtin.h"
-#include "cache.h"
#include "exec_cmd.h"
#include "help.h"
-#include "quote.h"
#include "run-command.h"
-#include "commit.h"
const char git_usage_string[] =
"git [--version] [--help] [-C <path>] [-c name=value]\n"