git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] cat-file: Remove unused includes
@ 2015-01-09  8:23 Alexander Kuleshov
  0 siblings, 0 replies; only message in thread
From: Alexander Kuleshov @ 2015-01-09  8:23 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Alexander Kuleshov

* <exec_cmd.h> became unnecessary at b931aa5a (Call builtin ls-tree
in git-cat-file -p, 2006-05-26).

* <tag.h> and "tree.h" became unnecessary at 21666f1a (convert
object type handling from a string to a number, 2007-02-26).

* <diff.h> was added at e5fba602 (textconv: support for cat_file,
2010-06-15).

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
ndrivers 0
ndrivers 0
 builtin/cat-file.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/builtin/cat-file.c b/builtin/cat-file.c
index f8d8129..750b5a2 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"
 
-- 
2.2.1.522.g2561c04.dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-09  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-09  8:23 [PATCH v2] cat-file: Remove unused includes Alexander Kuleshov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).