treewide: remove unnecessary inclusion of gettext.h
Looking at things from the opposite angle of the last patch, we had a few files that were including gettext.h and perhaps needed it at some point in history, but no longer require it. Remove the include. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Elijah Newren committed
Mar 21, 2023 at 06:25 UTC
553d4d70d128e78fd12031f5109d0164088c784f
4 files changed
-4
progress.c
-1
@@ -10,7 +10,6 @@
10
11
#define GIT_TEST_PROGRESS_ONLY
12
#include "cache.h"
13
-#include "gettext.h"
13
#include "progress.h"
14
#include "strbuf.h"
15
#include "trace.h"
t/helper/test-parse-pathspec-file.c
-1
@@ -1,7 +1,6 @@
1
#include "test-tool.h"
2
#include "parse-options.h"
3
#include "pathspec.h"
4
-#include "gettext.h"
4
5
int cmd__parse_pathspec_file(int argc, const char **argv)
6
{
t/helper/test-progress.c
-1
@@ -19,7 +19,6 @@
19
*/
20
#define GIT_TEST_PROGRESS_ONLY
21
#include "test-tool.h"
22
-#include "gettext.h"
22
#include "parse-options.h"
23
#include "progress.h"
24
#include "strbuf.h"
t/helper/test-run-command.c
-1
@@ -16,7 +16,6 @@
16
#include "string-list.h"
17
#include "thread-utils.h"
18
#include "wildmatch.h"
19
-#include "gettext.h"
19
20
static int number_callbacks;
21
static int parallel_next(struct child_process *cp,