[PATCH 1/2] refs.c: remove redundant translation markers
- From
Teng Long <dyroneteng@gmail.com>
- Date
- Oct 4, 2024, 19:14 UTC
- Message-ID
- <20241004191433.64416-1-tenglong.tl@alibaba-inc.com>
- In-Reply-To
- <ZrSroE8vLlZCK2jp@ArchLinux>
From: Teng Long <dyroneteng@gmail.com>
shejialuo <shejialuo@gmail.com> wrote:
Show 15 quoted lines
>> --- 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=<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 <dyroneteng@gmail.com> --- 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=<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.