diff options
| author | Elijah Newren <newren@gmail.com> | 2023-03-21 06:25:56 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-03-21 10:56:51 -0700 |
| commit | 4f6728d52d5dc79ce522e92171f984455c04b963 (patch) | |
| tree | 0d57326bf0527aa0cd90f1b3ddef40b7afdfd12a /t | |
| parent | treewide: remove unnecessary inclusion of gettext.h (diff) | |
| download | git-4f6728d52d5dc79ce522e92171f984455c04b963.tar.gz git-4f6728d52d5dc79ce522e92171f984455c04b963.zip | |
treewide: remove unnecessary cache.h inclusion from several sources
A number of files were apparently including cache.h solely to get
gettext.h. By making those files explicitly include gettext.h, we can
already drop the include of cache.h in these files. On top of that,
there were some files using cache.h that didn't need to for any reason.
Remove these unnecessary includes.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
| -rw-r--r-- | t/helper/test-hash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/helper/test-hash.c b/t/helper/test-hash.c index 016248106a..45d829c908 100644 --- a/t/helper/test-hash.c +++ b/t/helper/test-hash.c @@ -1,5 +1,4 @@ #include "test-tool.h" -#include "cache.h" #include "hex.h" int cmd_hash_impl(int ac, const char **av, int algo) |
