{"thread":{"id":"38321","subject":"[PATCH v2] cat-file: Remove unused includes","startedAt":"2015-01-09T08:23:10Z","lastAt":"2015-01-09T08:23:10Z","messageCount":1,"participants":["Alexander Kuleshov"],"isPatch":true,"patchVersion":2,"patchTotal":null},"messages":[{"id":"254501","messageId":"1420791790-20248-1-git-send-email-kuleshovmail@gmail.com","threadId":"38321","inReplyTo":null,"subject":"[PATCH v2] cat-file: Remove unused includes","fromName":"Alexander Kuleshov","fromEmail":"kuleshovmail@gmail.com","sentAt":"2015-01-09T08:23:10Z","receivedAt":"2015-01-09T08:23:10Z","isPatch":true,"sender":{"key":"kuleshovmail@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2699235?v=4"},"body":"* <exec_cmd.h> became unnecessary at b931aa5a (Call builtin ls-tree\nin git-cat-file -p, 2006-05-26).\n\n* <tag.h> and \"tree.h\" became unnecessary at 21666f1a (convert\nobject type handling from a string to a number, 2007-02-26).\n\n* <diff.h> was added at e5fba602 (textconv: support for cat_file,\n2010-06-15).\n\nSigned-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>\n---\nndrivers 0\nndrivers 0\n builtin/cat-file.c | 4 ----\n 1 file changed, 4 deletions(-)\n\ndiff --git a/builtin/cat-file.c b/builtin/cat-file.c\nindex f8d8129..750b5a2 100644\n--- a/builtin/cat-file.c\n+++ b/builtin/cat-file.c\n@@ -4,12 +4,8 @@\n  * Copyright (C) Linus Torvalds, 2005\n  */\n #include \"cache.h\"\n-#include \"exec_cmd.h\"\n-#include \"tag.h\"\n-#include \"tree.h\"\n #include \"builtin.h\"\n #include \"parse-options.h\"\n-#include \"diff.h\"\n #include \"userdiff.h\"\n #include \"streaming.h\"\n \n-- \n2.2.1.522.g2561c04.dirty\n"}]}