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>
This commit is contained in:
Elijah Newren 2023-03-21 06:25:55 +00:00 committed by Junio C Hamano
parent f394e093df
commit 553d4d70d1
4 changed files with 0 additions and 4 deletions

View File

@ -10,7 +10,6 @@
#define GIT_TEST_PROGRESS_ONLY #define GIT_TEST_PROGRESS_ONLY
#include "cache.h" #include "cache.h"
#include "gettext.h"
#include "progress.h" #include "progress.h"
#include "strbuf.h" #include "strbuf.h"
#include "trace.h" #include "trace.h"

View File

@ -1,7 +1,6 @@
#include "test-tool.h" #include "test-tool.h"
#include "parse-options.h" #include "parse-options.h"
#include "pathspec.h" #include "pathspec.h"
#include "gettext.h"
int cmd__parse_pathspec_file(int argc, const char **argv) int cmd__parse_pathspec_file(int argc, const char **argv)
{ {

View File

@ -19,7 +19,6 @@
*/ */
#define GIT_TEST_PROGRESS_ONLY #define GIT_TEST_PROGRESS_ONLY
#include "test-tool.h" #include "test-tool.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "progress.h" #include "progress.h"
#include "strbuf.h" #include "strbuf.h"

View File

@ -16,7 +16,6 @@
#include "string-list.h" #include "string-list.h"
#include "thread-utils.h" #include "thread-utils.h"
#include "wildmatch.h" #include "wildmatch.h"
#include "gettext.h"
static int number_callbacks; static int number_callbacks;
static int parallel_next(struct child_process *cp, static int parallel_next(struct child_process *cp,