mirror of
https://github.com/git/git
synced 2024-11-05 01:58:18 +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
3 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include "git-compat-util.h"
|
#include "git-compat-util.h"
|
||||||
|
#include "diffcore.h"
|
||||||
#include "line-range.h"
|
#include "line-range.h"
|
||||||
#include "hex.h"
|
#include "hex.h"
|
||||||
#include "tag.h"
|
#include "tag.h"
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#ifndef LINE_LOG_H
|
#ifndef LINE_LOG_H
|
||||||
#define LINE_LOG_H
|
#define LINE_LOG_H
|
||||||
|
|
||||||
#include "diffcore.h"
|
|
||||||
|
|
||||||
struct rev_info;
|
struct rev_info;
|
||||||
struct commit;
|
struct commit;
|
||||||
struct string_list;
|
struct string_list;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include "commit-reach.h"
|
#include "commit-reach.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "diff.h"
|
#include "diff.h"
|
||||||
|
#include "diffcore.h"
|
||||||
#include "environment.h"
|
#include "environment.h"
|
||||||
#include "hex.h"
|
#include "hex.h"
|
||||||
#include "object-name.h"
|
#include "object-name.h"
|
||||||
|
|
Loading…
Reference in a new issue