{"thread":{"id":"746","subject":"[PATCH] Do not include unused header files.","startedAt":"2005-05-28T09:55:16Z","lastAt":"2005-05-28T09:55:16Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"4129","messageId":"7vu0knwu7v.fsf@assigned-by-dhcp.cox.net","threadId":"746","inReplyTo":null,"subject":"[PATCH] Do not include unused header files.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-05-28T09:55:16Z","receivedAt":"2005-05-28T09:55:16Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Some source files were including \"delta.h\" without actually\nneeding it.  Remove them.\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n---\n\ncount-delta.c       |    1 -\ndiffcore-pathspec.c |    1 -\ndiffcore-pickaxe.c  |    1 -\n3 files changed, 3 deletions(-)\n\ndiff --git a/count-delta.c b/count-delta.c\n--- a/count-delta.c\n+++ b/count-delta.c\n@@ -6,7 +6,6 @@\n #include <stdlib.h>\n #include <string.h>\n #include <limits.h>\n-#include \"delta.h\"\n #include \"count-delta.h\"\n \n static unsigned long get_hdr_size(const unsigned char **datap)\ndiff --git a/diffcore-pathspec.c b/diffcore-pathspec.c\n--- a/diffcore-pathspec.c\n+++ b/diffcore-pathspec.c\n@@ -4,7 +4,6 @@\n #include \"cache.h\"\n #include \"diff.h\"\n #include \"diffcore.h\"\n-#include \"delta.h\"\n \n struct path_spec {\n \tconst char *spec;\ndiff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c\n--- a/diffcore-pickaxe.c\n+++ b/diffcore-pickaxe.c\n@@ -4,7 +4,6 @@\n #include \"cache.h\"\n #include \"diff.h\"\n #include \"diffcore.h\"\n-#include \"delta.h\"\n \n static int contains(struct diff_filespec *one,\n \t\t    const char *needle, unsigned long len)\n------------------------------------------------\n\n"}]}