Git fork

line-log.h: remove unnecessary include

The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though. Have those
source files explicitly include the headers they need.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Elijah Newren and committed by
Junio C Hamano
a28fe2d9 f25e65e0

+2 -2
+1
line-log.c
··· 1 1 #include "git-compat-util.h" 2 + #include "diffcore.h" 2 3 #include "line-range.h" 3 4 #include "hex.h" 4 5 #include "tag.h"
-2
line-log.h
··· 1 1 #ifndef LINE_LOG_H 2 2 #define LINE_LOG_H 3 3 4 - #include "diffcore.h" 5 - 6 4 struct rev_info; 7 5 struct commit; 8 6 struct string_list;
+1
log-tree.c
··· 2 2 #include "commit-reach.h" 3 3 #include "config.h" 4 4 #include "diff.h" 5 + #include "diffcore.h" 5 6 #include "environment.h" 6 7 #include "hex.h" 7 8 #include "object-name.h"