Skip to contentSkip to conversation

cat-file: Remove unused includes

PATCH Superseded Alexander Kuleshov 1 participant 1 message Jun 15, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cat-file: Remove unused includes

* <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).

---
ndrivers 0
ndrivers 0

 builtin/cat-file.c | 4 ----
 1 file changed, 4 deletions(-)
builtin/cat-file.c +0 -4
index f8d8129..750b5a2 100644
@@ -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"
 
Signature · 1 line
2.2.1.522.g2561c04.dirty