Skip to content

Commit 69d846f

Browse files
peffgitster
authored andcommitted
test-tool.h: include git-compat-util.h
The test-tool programs include "test-tool.h" as their first include, which breaks our CodingGuideline of "the first include must be git-compat-util.h or an equivalent". Rather than change them all, let's instead make test-tool.h one of those equivalents, just like we do for builtin.h (which many of the actual git builtins include first). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53f9a3e commit 69d846f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/helper/test-tool.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __TEST_TOOL_H__
22
#define __TEST_TOOL_H__
33

4+
#include "git-compat-util.h"
5+
46
int cmd__chmtime(int argc, const char **argv);
57
int cmd__config(int argc, const char **argv);
68
int cmd__ctype(int argc, const char **argv);

0 commit comments

Comments
 (0)