Article View: linux.kernel.git
Article #1348[PATCH v6 1/1] archive-zip: refactor 'path too long' error message to use Q_()
From: kerylefondji7
Date: Fri, 23 Oct 2026 21:38
Date: Fri, 23 Oct 2026 21:38
26 lines
11420 bytes
11420 bytes
From: Keryle Fondji <kerylefondji7@gmail.com>
---
archive-zip.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/archive-zip.c b/archive-zip.c
index 6f73ca6d58..160efd878f 100644
--- a/archive-zip.c
+++ b/archive-zip.c
@@ -328,8 +328,10 @@ static int write_zip_entry(struct archiver_args *args,
}
if (pathlen > 0xffff) {
- return error(_("path too long (%d chars, SHA1: %s): %s"),
- (int)pathlen, oid_to_hex(oid), path);
+ return error(Q_("path too long (%d char, SHA1: %s): %s",
+ "path too long (%d chars, SHA1: %s): %s",
+ pathlen),
+ (int)pathlen, oid_to_hex(oid), path);
}
if (S_ISDIR(mode) || S_ISGITLINK(mode)) {
--
2.53.0
Technical Details
Message-ID:
<20261023213813.3318-2-kerylefondji7@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73102-linux-kernel-git=dewy.ruReferences:
<xmqq1p9hhbue.fsf@gitster.g> <20261023213813.3318-1-kerylefondji7@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73102-linux-kernel-git=dewy.ru
From: kerylefondji7@gmail.com
Newsgroups: linux.kernel.git
Subject: [PATCH v6 1/1] archive-zip: refactor 'path too long' error message to use Q_()
Date: Fri, 23 Oct 2026 22:38:13 +0100
Organization: Usenet Network
Message-ID: <20261023213813.3318-2-kerylefondji7@gmail.com>
References: <xmqq1p9hhbue.fsf@gitster.g>
<20261023213813.3318-1-kerylefondji7@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="619288"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:lqcFBbmFfW+S04nqlvLnM/q30xs= sha256:eZuvhSa+xr+BLrwcCQjaLwg8i1Yt01EgNK7LBDHuTuY=
sha1:OsaIBsEhCp7NdrJ8IEVa2d3OcJ4= sha256:O9+G5LiWfTfkYQTXqe6WiFnB9NwmIc7UJdkZ6Xf4EQw=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id A06FB11159F; Sat, 24 Oct 2026 00:40:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.039
X-Spam-Status: No, score=-3.039 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001,
T_SPF_HELO_TEMPERROR=0.01] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id dy92fr79eCap;
Sat, 24 Oct 2026 00:40:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-73102-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id C24B011139F; Sat, 24 Oct 2026 00:40:37 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 3A1F32ABF3; Fri, 23 Oct 2026 21:38:36 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792791516;
b=k4kU8RuCP0QJWUw4f+ZEngj9PtCjehiHdW7C8vnEJAEzm5PqKzPvTu2bMoJAX10V84Ma
+0Zis2xGfqCXxpdqOpw/ooL2hP5tu9ySjLuwIS/c9b6uSud5iC+6Fvcm7aQgXW3w0LIeQ
BP1AevI4IaFW63tvhIT+UwCydzXmHC0jlwPkMqpLua2wuOL2kPkQKpvpUlqCsA56uYqms
49wy3PnYagSEgrVjILif1Kq/T4D//4EHdCroe3go4KBCzRzLtXi4cN77DjjxP624YnMD8
bsvSX5KKp/4/tHdnXxyBmEKboL4nWnlxMKwzfNnxCIx1lTXLIqKhBFL0hnuI+XH7dpw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792791516;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=AE88dYnt5eHLT+z74Ak7X+d3AJRN6Z5VTlxP597SgyA=;
b=mrzZVYVrkgBnM3sy+sCJfvcKpWejmI8Lw0UuVaMIvuy33q9DZrdJzjjKrtCtc+klsbv6
LKpWMC0xmA0Okw3F/1uho3pUJobWDIujMfgGGPXF5c4/VNA308eriyOGyAYKeDSiWHFqM
pKCeM5mEpNiPRCbsnLewFjpfVL7uPUcanNq5/UB3qPzPqXk7ORQSoPnlzDSRw+DInoO96
1bnzRNSVcP59WO+sB+lyBsWBU54jfw963W8gK/EyNQqwMFcDX+GtsNiY5FKA5liA4tF3C
Z4FSpPHZUWn56vZI/4vI32KCzxV2xNozdchx1cB63EJ8Ru2h+z9U5eUQaw0DL/YDwUg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=iElIvnLO;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E688606A321;
Fri, 23 Oct 2026 21:38:36 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=iElIvnLO
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.50
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792791515;
b=x7UXMVY7Y/xmnBUIkFp4BT9lHAJ6ZeW2zdy2soFURObqZaN8n435g4bpfeRSO5q3I1vt
TaOtbwA0PtsPhBiCOGbLLNuiWqamUIiM9QlPCKWjJy35iu2OBdVVl4AopVg3aDl6Jkhgy
lhiYsFhk63aBbhSvQMeRKntKxcQAeN8XgWfi9kDJR53ZM2GfqxmHc9dxNOqsIYBF8S1Iu
3VaFzvrjQ9zJ9tTaMfriGL6BC+CqNxLRur1zsutBeBFh7uaOG4ydVCaYYXrmhbSsyTPHZ
q8WkAf34mCdZomeqwm+eP0oi7B9JazXu/A0b2CeyvtBbhNvfmJ2+Vw7D/QX7DnIwTaA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792791515;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
MIME-Version:Content-Transfer-Encoding;
bh=AE88dYnt5eHLT+z74Ak7X+d3AJRN6Z5VTlxP597SgyA=;
b=N1R0oxI3fJ7XzwEs6OZbjczqlXSrH14o3QXwbzTlKwpEN6+uxRAr4D84yOITnuZGdm13
s/TP/FiHP0LOYpm61UNb0D/Bg03nwBZJwdF/THvxe1h9aXK4zDm9MhtViI/vFjjEVBpe8
/h+mqSQv31/r+R4/02psSDUxBvBKwS75JOzib5v7aMUzXvYOHWeEseLT1UKcfU8FkvXCj
an54Cjlaf7Fsg2sfJYMtP2mSEiGb2ardDq3CVj5lBBKeaKU8C2jJU3Z7MuDnVNOG6kq2R
g1LF+dzEAs8HXvFa53mX9hOWHdyLpLxXIvlTJXSGJhrW26i2IcYyp9LuFbzEHuA6+RA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=iElIvnLO;
arc=none smtp.remote-ip=209.85.221.50
X-Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC0A6606A31A
for <git@vger.kernel.org>; Fri, 23 Oct 2026 21:38:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CC0A6606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-48c4d99c32bso883350f8f.1
for <git@vger.kernel.org>; Fri, 23 Oct 2026 14:38:34 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792791513; x=1793396313; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=AE88dYnt5eHLT+z74Ak7X+d3AJRN6Z5VTlxP597SgyA=;
b=iElIvnLOslQgG7Ol1N8iHEV+B6RXNvvfVZ/aB20BvH5wOmf1PIVFs5vkGNgd7BDF0X
mzjgVzNFNjo6Yu7rnxQzj4qrGKZIp2lGDiPx7+GhIRccqSUmJybSzqhCQ5ks/pSbrCOw
jUgZJJ7K5q3+9a/M7hCgYFir+cLJMmoYkFZ4MFF2T1GTCHBoQpikLSMcfTXCZzD98gLd
TTZ5QG9rAmUdElbZWI+jSnNz2VHGwNJAJGHy89Rq26rNNrfiytfLvYBy64M/unRH8PTP
PozsbFn+1s6OLyFvgKq0rZPtW9iWlHFrFK8C3cLs4ENcPNg5dWHLHUuBZnLHmDaOZpum
zIRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792791513; x=1793396313;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=AE88dYnt5eHLT+z74Ak7X+d3AJRN6Z5VTlxP597SgyA=;
b=VGfCE7SF8NEoP2LKKy0gG8SAZUq+Y2H/0zC2gyCKvqjH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q14GGq+tK+J0Ppc4M+FygSZ2NoI5ftxN8rtceU5RityFKMLPHuYuj0tuD+Ba+CrZrSbtNNg
gpjb
X-Received: by 2002:a05:6000:2288:b0:48e:20ed:27b1 with SMTP id ffacd0b85a97d-48e3eac4af1mr378200f8f.0.1792791513071;
Fri, 23 Oct 2026 14:38:33 -0700 (PDT)
X-Received: from DESKTOP-0SUCFI3.localdomain ([129.0.81.251])
by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48e3ebc4d76sm476609f8f.12.2026.10.23.14.38.29
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 23 Oct 2026 14:38:32 -0700 (PDT)
X-Cc: phillip.wood123@gmail.com,
christian.couder@gmail.com,
siddharthasthana31@gmail.com,
git@vger.kernel.org,
Keryle Fondji <kerylefondji7@gmail.com>
X-Mailer: git-send-email 2.53.0
X-In-Reply-To: <20261023213813.3318-1-kerylefondji7@gmail.com>
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list