From 69d846f05381af76be2b92f257dec68a2362c64d Mon Sep 17 00:00:00 2001 From: Jeff King Date: Tue, 21 Aug 2018 14:41:40 -0400 Subject: 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 Signed-off-by: Junio C Hamano 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); -- cgit v0.10.2-6-g49f6