summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Emily Shaffer <emilyshaffer@google.com>2020-04-27 16:42:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-27 17:21:41 -0700
commit8f0e9843bdf82b04591416367bee3817991e0722 (patch)
tree41de327f209cb850974476ce168e5a331c1e0f1f
parentbugreport: add compiler info (diff)
downloadtgif-8f0e9843bdf82b04591416367bee3817991e0722.tar.xz
bugreport: drop extraneous includes
In the generic parts of the source files, system headers like <time.h> and <stdio.h> 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 <emilyshaffer@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--bugreport.c2
1 files changed, 0 insertions, 2 deletions
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"