mirror of
https://github.com/git/git
synced 2024-11-04 16:17:49 +00:00
blame.h: remove unnecessary includes
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
c2c4138c07
commit
bd6cc1d9ec
2 changed files with 2 additions and 3 deletions
2
blame.c
2
blame.c
|
@ -3,6 +3,7 @@
|
|||
#include "object-store-ll.h"
|
||||
#include "cache-tree.h"
|
||||
#include "mergesort.h"
|
||||
#include "commit.h"
|
||||
#include "convert.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
|
@ -10,6 +11,7 @@
|
|||
#include "hex.h"
|
||||
#include "path.h"
|
||||
#include "read-cache.h"
|
||||
#include "revision.h"
|
||||
#include "setup.h"
|
||||
#include "tag.h"
|
||||
#include "trace2.h"
|
||||
|
|
3
blame.h
3
blame.h
|
@ -1,12 +1,9 @@
|
|||
#ifndef BLAME_H
|
||||
#define BLAME_H
|
||||
|
||||
#include "commit.h"
|
||||
#include "oidset.h"
|
||||
#include "xdiff-interface.h"
|
||||
#include "revision.h"
|
||||
#include "prio-queue.h"
|
||||
#include "diff.h"
|
||||
|
||||
#define PICKAXE_BLAME_MOVE 01
|
||||
#define PICKAXE_BLAME_COPY 02
|
||||
|
|
Loading…
Reference in a new issue