From: Junio C Hamano Date: Mon, 3 Nov 2025 15:27:57 +0000 (-0800) Subject: Merge branch 'cc/fast-import-export-i18n-cleanup' into next X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41a35c3e52b18bfc36a89cfe99f78cc74dacf6b5;p=thirdparty%2Fgit.git Merge branch 'cc/fast-import-export-i18n-cleanup' into next Messages from fast-import/export are now marked for i18n. * cc/fast-import-export-i18n-cleanup: gpg-interface: mark a string for translation fast-import: mark strings for translation fast-export: mark strings for translation gpg-interface: use left shift to define GPG_VERIFY_* gpg-interface: simplify ssh fingerprint parsing --- 41a35c3e52b18bfc36a89cfe99f78cc74dacf6b5 diff --cc builtin/fast-export.c index 7adbc55f0d,f9a03261e2..0421360ab7 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@@ -931,15 -932,16 +932,15 @@@ static void handle_tag(const char *name /* handle signed tags */ if (message) { - const char *signature = strstr(message, - "\n-----BEGIN PGP SIGNATURE-----\n"); - if (signature) + size_t sig_offset = parse_signed_buffer(message, message_size); + if (sig_offset < message_size) switch (signed_tag_mode) { case SIGN_ABORT: - die("encountered signed tag %s; use " - "--signed-tags= to handle it", + die(_("encountered signed tag %s; use " + "--signed-tags= to handle it"), oid_to_hex(&tag->object.oid)); case SIGN_WARN_VERBATIM: - warning("exporting signed tag %s", + warning(_("exporting signed tag %s"), oid_to_hex(&tag->object.oid)); /* fallthru */ case SIGN_VERBATIM: