Skip to content

Commit bd6cc1d

Browse files
newrengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c2c4138 commit bd6cc1d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

blame.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
#include "object-store-ll.h"
44
#include "cache-tree.h"
55
#include "mergesort.h"
6+
#include "commit.h"
67
#include "convert.h"
78
#include "diff.h"
89
#include "diffcore.h"
910
#include "gettext.h"
1011
#include "hex.h"
1112
#include "path.h"
1213
#include "read-cache.h"
14+
#include "revision.h"
1315
#include "setup.h"
1416
#include "tag.h"
1517
#include "trace2.h"

blame.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#ifndef BLAME_H
22
#define BLAME_H
33

4-
#include "commit.h"
54
#include "oidset.h"
65
#include "xdiff-interface.h"
7-
#include "revision.h"
86
#include "prio-queue.h"
9-
#include "diff.h"
107

118
#define PICKAXE_BLAME_MOVE 01
129
#define PICKAXE_BLAME_COPY 02

0 commit comments

Comments
 (0)