From: Teng Long Date: Fri, 04 Oct 2024 19:14:33 GMT Subject: [PATCH 1/2] refs.c: remove redundant translation markers Message-ID: <20241004191433.64416-1-tenglong.tl@alibaba-inc.com> In-Reply-To: From: Teng Long shejialuo wrote: >> --- a/builtin/refs.c >> +++ b/builtin/refs.c >> @@ -1,4 +1,6 @@ >> #include "builtin.h" >> +#include "config.h" >> +#include "fsck.h" >> #include "parse-options.h" >> #include "refs.h" >> #include "repository.h" >> @@ -7,6 +9,9 @@ >> #define REFS_MIGRATE_USAGE \ >> N_("git refs migrate --ref-format= [--dry-run]") >> >> +#define REFS_VERIFY_USAGE \ >> + N_("git refs verify [--strict] [--verbose]") This define may not require translation, then maybe it should look like: Signed-off-by: Teng Long --- builtin/refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/refs.c b/builtin/refs.c index 24978a7b..3a799aa6 100644 --- a/builtin/refs.c +++ b/builtin/refs.c @@ -10,7 +10,7 @@ N_("git refs migrate --ref-format= [--dry-run]") #define REFS_VERIFY_USAGE \ - N_("git refs verify [--strict] [--verbose]") + "git refs verify [--strict] [--verbose]" static int cmd_refs_migrate(int argc, const char **argv, const char *prefix) { -- 2.43.0.rc1.4.g79da3975.dirty Thanks.