From patchwork Wed Oct 16 12:54:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1998055 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=EKO4pwGg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XT9tQ2Zr4z1xv6 for ; Wed, 16 Oct 2024 23:55:26 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 826123857711 for ; Wed, 16 Oct 2024 12:55:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by sourceware.org (Postfix) with ESMTPS id 3E2113858420 for ; Wed, 16 Oct 2024 12:54:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E2113858420 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E2113858420 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2604:1380:4641:c500::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729083299; cv=none; b=DxICKSFWUnZETsB2WfFPlNacEiDmADIJoniSvsGjLAUIJvPXtdbVweAHQqTOLD2i6uB696Aw+7kc3lGwJbIhjAGbWZCGK6cSZItjox33vkf2sTaKgzEzAv1v4/mMLFmo8Xac9dnbI3ECqEe3Xz8iBeWhWUexgyXpSYedMYw5M8A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729083299; c=relaxed/simple; bh=grnFsUn1xiMRPukrn3HGc3HDyT+/+DXaeV/KAlgYBm0=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=KwxZgof2NePi0057UGvdiILH//w7GhAoFXlwxTdWzuVGopmXGQfvGflkZoaKzyFsZEo/Q3U54Q7GbZDJpUq5wVxdiP6k8eH5I1zUAAmbj5UTLB+ubc4zSHVpC0HTVJf2F6nDVp3xo1pVvZe/5YU9Yn8pVKcXlujwpkZkriGBQoA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 871E75C5ED9 for ; Wed, 16 Oct 2024 12:54:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 030FDC4CEC7; Wed, 16 Oct 2024 12:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729083292; bh=grnFsUn1xiMRPukrn3HGc3HDyT+/+DXaeV/KAlgYBm0=; h=Date:From:To:Cc:Subject:From; b=EKO4pwGg+oBbwDtSf9pc1E3VzXdKU4mCisQHPM3PlcjLs55+BxaZ7oYgJuN7Ip3ho yoFIxUhcueq4kbrzK4i6HYvSFV4K/uQFDcDFgtOKb5958p1lA9pyRjcPbkaxeijrRD 9CyPDG30wZy3wM7NgTv3AWStZ/QpY3CbTHL9TZZoiVhd95X/PBqVDc4j1NK0TURVDT rH996GjYNF0cvXaFMfoEyXKP10K94acOE9/+wLI5GYiAVphjAoaN0HKm38Z3zF27XP FgD3K3V4F9WAULsYYosh1uO2hb4260IK1VYWzUM/GG+sd/vcwfdiQqAh1avi/x4h3q y59BwXfYb+3OQ== Date: Wed, 16 Oct 2024 14:54:50 +0200 From: Alejandro Colomar To: gcc-patches@gcc.gnu.org Cc: Alejandro Colomar Subject: [PATCH v1] contrib/: Configure git-format-patch(1) to add To: gcc-patches@gcc.gnu.org Message-ID: <2cbf2268a63174294d0425e6593ea6adc8fc0950.1729083275.git.alx@kernel.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Just like we already do for git-send-email(1). In some cases, patches are prepared with git-format-patch(1), but are sent with a different program, or some flags to git-send-email(1) may accidentally inhibit the configuration. By adding the TO in the email file, we make sure that gcc-patches@ will receive the patch. contrib/ChangeLog: * gcc-git-customization.sh: Configure git-format-patch(1) to add 'To: gcc-patches@gcc.gnu.org'. Signed-off-by: Alejandro Colomar --- contrib/gcc-git-customization.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh index 54bd35ea1aa..1cd1b4472f0 100755 --- a/contrib/gcc-git-customization.sh +++ b/contrib/gcc-git-customization.sh @@ -43,6 +43,7 @@ git config diff.md.xfuncname '^\(define.*$' # Tell git send-email where patches go. # ??? Maybe also set sendemail.tocmd to guess from MAINTAINERS? +git config format.to 'gcc-patches@gcc.gnu.org' git config sendemail.to 'gcc-patches@gcc.gnu.org' set_user=$(git config --get "user.name")