mirror of
https://github.com/git/git.git
synced 2025-02-06 11:01:06 +00:00
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>
This commit is contained in:
parent
f25e65e0fe
commit
a28fe2d901
@ -1,4 +1,5 @@
|
||||
#include "git-compat-util.h"
|
||||
#include "diffcore.h"
|
||||
#include "line-range.h"
|
||||
#include "hex.h"
|
||||
#include "tag.h"
|
||||
|
@ -1,8 +1,6 @@
|
||||
#ifndef LINE_LOG_H
|
||||
#define LINE_LOG_H
|
||||
|
||||
#include "diffcore.h"
|
||||
|
||||
struct rev_info;
|
||||
struct commit;
|
||||
struct string_list;
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include "commit-reach.h"
|
||||
#include "config.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "environment.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user