]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: remove unnecessary inclusion of gettext.h
authorElijah Newren <newren@gmail.com>
Tue, 21 Mar 2023 06:25:55 +0000 (06:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Mar 2023 17:56:51 +0000 (10:56 -0700)
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>
progress.c
t/helper/test-parse-pathspec-file.c
t/helper/test-progress.c
t/helper/test-run-command.c

index 9b33a2df32557302500fbe8c736c100a2d1b2ba4..44c784d75f106c066c85b7a7a6569744332a6be2 100644 (file)
@@ -10,7 +10,6 @@
 
 #define GIT_TEST_PROGRESS_ONLY
 #include "cache.h"
-#include "gettext.h"
 #include "progress.h"
 #include "strbuf.h"
 #include "trace.h"
index 71d2131fbad00f763eca42d50a779f8885887043..89ecefd1cdbec1da7c2cd43dbceebeb05ac61708 100644 (file)
@@ -1,7 +1,6 @@
 #include "test-tool.h"
 #include "parse-options.h"
 #include "pathspec.h"
-#include "gettext.h"
 
 int cmd__parse_pathspec_file(int argc, const char **argv)
 {
index 6cc9735b60127b2f5bab7d1728dc013a27b7adf4..66acb6a06c99b062952c0c34e6f527ecb06bc222 100644 (file)
@@ -19,7 +19,6 @@
  */
 #define GIT_TEST_PROGRESS_ONLY
 #include "test-tool.h"
-#include "gettext.h"
 #include "parse-options.h"
 #include "progress.h"
 #include "strbuf.h"
index b0d041ec5ffb9d4a3fa718920355386b50f9b2a3..c0ed8722c8779b7617382959ff92f2e0a2ea8db6 100644 (file)
@@ -16,7 +16,6 @@
 #include "string-list.h"
 #include "thread-utils.h"
 #include "wildmatch.h"
-#include "gettext.h"
 
 static int number_callbacks;
 static int parallel_next(struct child_process *cp,