summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-08-21 18:41:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-21 19:11:40 (GMT)
commit69d846f05381af76be2b92f257dec68a2362c64d (patch)
tree285ac002dfc82a77196a2934c4583359d7490384 /t/helper
parent53f9a3e157dbbc901a02ac2c73346d375e24978c (diff)
downloadgit-69d846f05381af76be2b92f257dec68a2362c64d.zip
git-69d846f05381af76be2b92f257dec68a2362c64d.tar.gz
git-69d846f05381af76be2b92f257dec68a2362c64d.tar.bz2
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-tool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index 7116ddf..d1ac9fa 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -1,6 +1,8 @@
#ifndef __TEST_TOOL_H__
#define __TEST_TOOL_H__
+#include "git-compat-util.h"
+
int cmd__chmtime(int argc, const char **argv);
int cmd__config(int argc, const char **argv);
int cmd__ctype(int argc, const char **argv);