Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp689902rdb; Thu, 22 Feb 2024 17:13:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVe2MOYlMaFiuXOlGv/WGE5GuVNaIfaHQ9DUd+qBIAiIgp1sLXhcmolyQqV80AXbfoBTgaQEZKw3vSBxNCBUPihSXQAV8uis5CKTEStrg== X-Google-Smtp-Source: AGHT+IHbNhGXDMoAyMyjGcnI2zkyjdD9F/6npuy1gbKpDY7hUQvz/aIz2Q5VlFHDWz6pz+roso2M X-Received: by 2002:a05:6a00:938a:b0:6e4:c850:55b2 with SMTP id ka10-20020a056a00938a00b006e4c85055b2mr779175pfb.5.1708650838498; Thu, 22 Feb 2024 17:13:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708650838; cv=pass; d=google.com; s=arc-20160816; b=WnesemleF9OVwrFj/PJWp1Dv8uIMHiaBtAdFflNE1Z+Ich9d0afHRbBwnt6unLNFZ3 /T2kq3opxw5XTFtS9EoX51/xlf6PiUISoyri+sqv2FH/vkRX6w8RatHohRMVu2XG1Owg 8QVZylgvRrPoOE/A3zVdYwHb5sMNaWV2PwTv7FVTFnI+RKrhHTKvtkFiqCbX2Of2fGnV tNyGgHKXkAftE3mdIH5rRb3cnHGP/NsmfDLGNj0S+Hafe1Gbc8LWGg4/E8yGJU296u3M s2liDrVvxoCnOGgmYV1qoRNHzrAyQDVkVQWmzqp59E5jeEBp4gBWjj6/dMPdDkk9XHSY VveQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=nUBCE71WAoCM5so84bxmPuWFVERuDRjbgYn1ry8cjxM=; fh=SgtBSkYWY2kKayrCRWf545ne+EYvFLSnHMgfUTIV4AE=; b=NKiYv4mxSFUAq4IOaILmOC0n/Q+HlmUp3vXYSfAWAA2uIbcbf6HQv0QAUuvUyrK4QX FuxPzwWiug9Jk8w79p7XrJ1fTI+fBnOhSP33BKWPt+KiDYT6fFI8d/tE1SMASvnlfckU f+XkC0y7Bxcgn28va+iq59oM9P94Yd2kOPyDmjx3hvrqN2IHVEQZ53dxY5SFjm1auuus Oh6OExlL0yEK0Fhr0PPpzpft/N8aMBzWolPJPowiJuIDWKkAMuhPdqMun3h9Ax9C6h4Y 0V+X96a/m7gIDpWPah6bUXPaJVlzkdpBFuyjCkVXC3Cm9d3EYQdq5NiBbG8NG0YzIbBu LdvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=perches.com); spf=pass (google.com: domain of linux-kernel+bounces-77615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77615-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s20-20020a056a00195400b006dffc180954si11314019pfk.398.2024.02.22.17.13.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 17:13:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=perches.com); spf=pass (google.com: domain of linux-kernel+bounces-77615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77615-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E8DD5B21F69 for ; Fri, 23 Feb 2024 01:11:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13BA0BE5D; Fri, 23 Feb 2024 01:10:53 +0000 (UTC) Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F06D3AD48 for ; Fri, 23 Feb 2024 01:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708650652; cv=none; b=Cex45T1zIK2JWeS0x494gUl75uJ7gij/uHtO29Cl7PmXwV8z1MUuoQs+dMezmOgMJ8Xt2DA5oCBOzUZlng3APxIeNmbzcGH8bsIlL7LYi9DOrAISfzvun+MVaph5pMAV/IrMMsS3/043dGQ6ayY4F/79BITaoL101+1U+nIOlGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708650652; c=relaxed/simple; bh=eKSHPiYO+MMybgl4oNeCKlbZlM9yRQY6muenBaDcbr4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=QzlAHZ+jmmo6jHc38CUDcj3h4E+yNlY/dG2Fc8Oj62bttIP5LP3L5hsQrk7E7Yc8seeeuC9m4tUpougI374C/auDKa5euPFekMOvvqE225tIw4kzd058YERRM9vElAOPuwx2++u5mtC9zZADJiYkd1IVyg0RPTVtcj5nQB9BGTs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id A757DA17A0; Fri, 23 Feb 2024 01:01:56 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA id 5D4F82F; Fri, 23 Feb 2024 01:01:54 +0000 (UTC) Message-ID: Subject: Re: [PATCH 2/2] checkpatch: Don't check for unified diff format in git sendemail headers From: Joe Perches To: Saravana Kannan Cc: Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , kernel-team@android.com, linux-kernel@vger.kernel.org Date: Thu, 22 Feb 2024 17:01:53 -0800 In-Reply-To: References: <20240222051539.3001988-3-saravanak@google.com> <20240222051539.3001988-4-saravanak@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: 5D4F82F X-Stat-Signature: 84emiutu6wa9xscooj8xczjp9shqhzcs X-Rspamd-Server: rspamout04 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18RgCT5QkfnPaQE88ohROxOK5TC7IviFVI= X-HE-Tag: 1708650114-305781 X-HE-Meta: U2FsdGVkX18LMVA0VWZJ4aeIuZ0cEqbn+W2bLZQwLu/PawQk8Fmel/P/PKvSSHePE8VTYmmrZJ650BTvuU6B9xN2HeLNa0z/wFZD9OWbg/tEIQOX8OcHLTvkQRYQYttrDalIVVOjjKqCxF7H2VWE0xRa7BlBRZsJeBR/pWiAWnVJwwMum2slC1u/kKXsnT1H5PvDeVp+pOVxisS5RBMIjWxWeFmWrSOcB6DtPYBCpijm5x3Rh6HJMYjd1bd5jDBhUdgnBO5Gy/Oa9V0XbKEzlQbFS+uK/zyiW+DwshZgikfUCbHNlfhhQ/Vn6d6YAw438kr5w62DlKqgEQUvcdeV4Jf3Md0RDZYliBLQhLtPtF/9wSuEqOcpMMLdwDuofOyl On Thu, 2024-02-22 at 16:45 -0800, Saravana Kannan wrote: > On Thu, Feb 22, 2024 at 12:54=E2=80=AFAM Joe Perches wr= ote: > >=20 > > On Wed, 2024-02-21 at 21:15 -0800, Saravana Kannan wrote: > > > When checkpatch is used as a git sendemail-validate hook, it's also p= assed > > > in the email header for sanity check. > >=20 > > Why? > >=20 > > If so, why not use a front-end script to stop/remove > > the file from being scanned by checkpatch? >=20 > Sure, I could do that. But this also makes it easier for people to > start using checkpatch. Or I can put up a git hook wrapper script in > here for people to symlink into their .git/hooks that does this. >=20 > I'd prefer the lazy route of not creating a 1 line wrapper script :) I'd not. checkpatch is for _patches_. Don't feed stuff to it that isn't patches and expect good results.