From nobody Mon Feb 9 17:46:36 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2027FEB64D9 for ; Mon, 19 Jun 2023 09:55:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231708AbjFSJz5 (ORCPT ); Mon, 19 Jun 2023 05:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbjFSJzu (ORCPT ); Mon, 19 Jun 2023 05:55:50 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4E8128; Mon, 19 Jun 2023 02:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=6tdjUN64vUCYrK7fSaz6FoAbfxa1GAFbufR/hoALhss=; t=1687168548; x=1688378148; b=FQBJ0cotwx07rA6rB4tgzTuOfudc5HHHeumWWrcDOCsdL/AjXdz1ZycrgP94d+DGgxgHOfpAXx7 8jEP6oC+s9tC+YAWg6qv6IOTfTbxptlKhJHGSQBjM2WkjmTXYpNX4QHudqG/BRqsQHXsUgrO7wqhb NMUeQkSx3/kVJ5R486NU4ck1/RxCM1NxxZm4Q4u6zItP3WZuOIOlEFNILJuB5j2XfJk7gdpeMBqZD oagL2FXgNxDqouIZqW7EKLjoY5s/tRbA0nW0SQh75rPQRJAPzTHj1HSyAVq0F0oKxJMwSmyQXxrSq YOr4R1a2iQd2gy1YDLIw/fe0V8xGN0+oLQ4w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qBBbt-00BHZj-04; Mon, 19 Jun 2023 11:55:45 +0200 From: Johannes Berg To: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jonathan Corbet , Greg Kroah-Hartman , Johannes Berg Subject: [PATCH] Documentation: update git configuration for Link: tag Date: Mon, 19 Jun 2023 11:55:34 +0200 Message-ID: <20230619115533.981f6abaca01.I1960c39b1d61e8514afcef4806a450a209133187@changeid> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Johannes Berg The latest version of git (2.41.0) changed the spelling of Message-Id to Message-ID. Adjust the perl script here to accept both spellings. Signed-off-by: Johannes Berg Tested-by: Greg Kroah-Hartman --- Documentation/maintainer/configure-git.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/maintainer/configure-git.rst b/Documentation/mai= ntainer/configure-git.rst index 80ae5030a590..ec0ddfb9cdd3 100644 --- a/Documentation/maintainer/configure-git.rst +++ b/Documentation/maintainer/configure-git.rst @@ -56,7 +56,7 @@ by adding the following hook into your git: $ cat >.git/hooks/applypatch-msg <<'EOF' #!/bin/sh . git-sh-setup - perl -pi -e 's|^Message-Id:\s*]+)>?$|Link: https://lore.kernel.org/= r/$1|g;' "$1" + perl -pi -e 's|^Message-I[dD]:\s*]+)>?$|Link: https://lore.kernel.o= rg/r/$1|g;' "$1" test -x "$GIT_DIR/hooks/commit-msg" && exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} : --=20 2.41.0