Skip to content

Commit 553d4d7

Browse files
newrengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f394e09 commit 553d4d7

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

progress.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#define GIT_TEST_PROGRESS_ONLY
1212
#include "cache.h"
13-
#include "gettext.h"
1413
#include "progress.h"
1514
#include "strbuf.h"
1615
#include "trace.h"

t/helper/test-parse-pathspec-file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "test-tool.h"
22
#include "parse-options.h"
33
#include "pathspec.h"
4-
#include "gettext.h"
54

65
int cmd__parse_pathspec_file(int argc, const char **argv)
76
{

t/helper/test-progress.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
*/
2020
#define GIT_TEST_PROGRESS_ONLY
2121
#include "test-tool.h"
22-
#include "gettext.h"
2322
#include "parse-options.h"
2423
#include "progress.h"
2524
#include "strbuf.h"

t/helper/test-run-command.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "string-list.h"
1717
#include "thread-utils.h"
1818
#include "wildmatch.h"
19-
#include "gettext.h"
2019

2120
static int number_callbacks;
2221
static int parallel_next(struct child_process *cp,

0 commit comments

Comments
 (0)