Skip to content

Commit 5bc0722

Browse files
newrengitster
authored andcommitted
treewide: be explicit about dependence on mem-pool.h
Signed-off-by: Elijah Newren <[email protected]> Acked-by: Calvin Wan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6f2d743 commit 5bc0722

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

builtin/checkout.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "hook.h"
1616
#include "ll-merge.h"
1717
#include "lockfile.h"
18+
#include "mem-pool.h"
1819
#include "merge-recursive.h"
1920
#include "object-store.h"
2021
#include "parse-options.h"

cache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "object.h"
1414
#include "repository.h"
1515
#include "statinfo.h"
16-
#include "mem-pool.h"
1716

1817
typedef struct git_zstream {
1918
z_stream z;

merge-ort.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "hex.h"
3232
#include "entry.h"
3333
#include "ll-merge.h"
34+
#include "mem-pool.h"
3435
#include "object-store.h"
3536
#include "oid-array.h"
3637
#include "promisor-remote.h"

read-cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "blob.h"
2222
#include "environment.h"
2323
#include "gettext.h"
24+
#include "mem-pool.h"
2425
#include "resolve-undo.h"
2526
#include "run-command.h"
2627
#include "strbuf.h"

split-index.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "cache.h"
22
#include "alloc.h"
33
#include "gettext.h"
4+
#include "mem-pool.h"
45
#include "split-index.h"
56
#include "ewah/ewok.h"
67

t/helper/test-mergesort.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "test-tool.h"
22
#include "cache.h"
3+
#include "mem-pool.h"
34
#include "mergesort.h"
45

56
static uint32_t minstd_rand(uint32_t *state)

0 commit comments

Comments
 (0)