From: Emily Shaffer Date: Mon, 27 Apr 2020 23:42:31 +0000 (-0700) Subject: bugreport: drop extraneous includes X-Git-Tag: v2.27.0-rc0~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f0e9843bdf82b04591416367bee3817991e0722;p=thirdparty%2Fgit.git bugreport: drop extraneous includes In the generic parts of the source files, system headers like and are supposed to be included indirectly by including "git-compat-util.h", which manages portability issues. Drop our explicit inclusions and rely on "cache.h", which includes "git-compat-util.h". Signed-off-by: Emily Shaffer Signed-off-by: Junio C Hamano --- diff --git a/bugreport.c b/bugreport.c index 089b939a87..acacca8fef 100644 --- a/bugreport.c +++ b/bugreport.c @@ -1,8 +1,6 @@ #include "cache.h" #include "parse-options.h" -#include "stdio.h" #include "strbuf.h" -#include "time.h" #include "help.h" #include "compat/compiler.h"