Skip to content

Commit 2d2920c

Browse files
KarthikNayakgitster
authored andcommitted
refs: remove unused headers
In the 'refs/' namespace, some of the included header files are not needed, let's remove them. Signed-off-by: Karthik Nayak <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c44beea commit 2d2920c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

refs/debug.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "git-compat-util.h"
22
#include "hex.h"
33
#include "refs-internal.h"
4-
#include "string-list.h"
54
#include "trace.h"
65

76
static struct trace_key trace_refs = TRACE_KEY_INIT(REFS);

refs/files-backend.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "../dir-iterator.h"
2121
#include "../lockfile.h"
2222
#include "../object.h"
23-
#include "../object-file.h"
2423
#include "../path.h"
2524
#include "../dir.h"
2625
#include "../chdir-notify.h"

refs/reftable-backend.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "../hex.h"
1212
#include "../iterator.h"
1313
#include "../ident.h"
14-
#include "../lockfile.h"
1514
#include "../object.h"
1615
#include "../path.h"
1716
#include "../refs.h"

0 commit comments

Comments
 (0)