]> git.ipfire.org Git - thirdparty/git.git/commitdiff
bugreport: drop extraneous includes
authorEmily Shaffer <emilyshaffer@google.com>
Mon, 27 Apr 2020 23:42:31 +0000 (16:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Apr 2020 00:21:41 +0000 (17:21 -0700)
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>
bugreport.c

index 089b939a870f0523dbc793d22ac774d8c245612f..acacca8fef0f0c02581903693a947c04e97597c6 100644 (file)
@@ -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"