Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp698691rdb; Thu, 22 Feb 2024 17:40:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWn1smISRGZ/7nJNoTgETdmOSGE3o/W9cbd9IppavXVQ3yRg3f6EhtLrh6eQSEcQU9wzKP8EUsJgmpeyOo0d66pV4ZYATLSVvplMfKUFg== X-Google-Smtp-Source: AGHT+IF/rZQmCcZDMfosAhnX3a6dENCbmicw5nK0CFq8YyDvOa0nQ8PuYi1V1rdfCqWTEDrv/d52 X-Received: by 2002:aa7:d958:0:b0:565:50f8:bad5 with SMTP id l24-20020aa7d958000000b0056550f8bad5mr249673eds.30.1708652452309; Thu, 22 Feb 2024 17:40:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708652452; cv=pass; d=google.com; s=arc-20160816; b=WOftYFxwgqpINBrJO9b1obJFTvTTgOor0vFqwmRqzjCOEQfDFYTrX9xuJwpGWk+/Ie 67JFXz/8BhxSndMMY2d3q8245JPVtVHp/QM9BBUsb7VeXwAIANpsa81ilL1arTEsbfJM XlvDvbIKUIbpFON8qh7ERRH9osVx/qv4oUMy0TPS9tTy/OvLDMnkJC+8RXBCnm9YzJr2 y5Cm+SQAF5NyyX069gTE2lkxBhrGQhQ/5MoFIUi0bq7z002tFiBKQSfJwiyxuj/wDO06 W1eiLVQGRQ+0vSzXqN8avAyKnn3u5yDXAW261WwnRaP4SbP4wyfU2ALBT7t7pcgVdQxe XrAA== 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=klClBCHZhMYORZlolBpXlWkTL6I2GEAtHl5loSe8arg=; fh=SgtBSkYWY2kKayrCRWf545ne+EYvFLSnHMgfUTIV4AE=; b=qW+iPGLLM9HxT0tPowPcXgDTPrIkgZfHUvz3L7oOSFncHjDD1V0lTnTjMNFt4J9Lcp cpUvNuUpU3sgY9MmIGQAVVT1qaq682AffqWEcuJkdNx5OTJ/0MvhD5HGN8Bx0zcOsDGH JRyTWw8gD79gfgzlrYq2ljruTj2u7Dm49KrEA7wHTbLBLCDYAzyVWPJQryD7rFQ0qxgZ /U6c6A6ApWNJRsYGrZJAY0UsWghoik84CmLWDq9zOf+L82kiVOdUfTQ7QOwInKsPFGfI p2KvMGgXqq1dVIuIAjhJpfMu0+UvufaLWjZ8N8eiH5mzsOz9zITts0p/czM1jiKJAauw cGAw==; 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-77644-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77644-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i38-20020a0564020f2600b005642f0a0ba0si5397179eda.441.2024.02.22.17.40.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 17:40:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77644-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=perches.com); spf=pass (google.com: domain of linux-kernel+bounces-77644-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77644-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 02F421F24248 for ; Fri, 23 Feb 2024 01:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F39FB64C; Fri, 23 Feb 2024 01:40:44 +0000 (UTC) Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) (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 355B55CB5 for ; Fri, 23 Feb 2024 01:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708652443; cv=none; b=JAeLR6FwrXoQk8GlQbjEjrYooVpYhnxYe2m5nf3HDIFfyM+lHiYOCcmRnh9sVj8MFW3gwnO/2AjR3IJWyh6eS8Hkwn1fzZRyZ41iHdYDuijcEipzmza0hfSIOVYvAWfPHZs9g3noSkrptoPSYsm/9Q0vbdxYob+c7kC2oXbsvV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708652443; c=relaxed/simple; bh=06nlyah+LimYhn6q4/L7UyYLSWP/+zvjFYNxxwsEfmI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=V8tB4OFk/wR2x2F/hIItRt4OcArgBltDBaw6qRFywvHjFADptd4EoKWtPiyYT4u+n7dqUfHplfbfn92cNYStRx9B3KaCypVQhQf2Q1GdWYjqOGKLzR1+8+8Ex02F/qJn/H9CR21j8k5brwYtOXiYUjD+hr1H90rIK7537aYWWa4= 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.10 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 omf16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 382F3810F7; Fri, 23 Feb 2024 01:22:04 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA id CCE982000D; Fri, 23 Feb 2024 01:22:01 +0000 (UTC) Message-ID: <17265e7ace81d4e546a0b990d3e4723c6e6f4968.camel@perches.com> 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:22:00 -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-Server: rspamout06 X-Rspamd-Queue-Id: CCE982000D X-Stat-Signature: 9x9389jnokt9gxoox5kye9oawx8f1tw5 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18+rkEm7949bNaeLsD5HarbInaSmXaVqA4= X-HE-Tag: 1708651321-214556 X-HE-Meta: U2FsdGVkX18rgb+OfNzocMgCYQ2csH6MhWu06jBGyR2HUz0/0kU/7m/6/weIZvGizCKD6WXDbnmjlTyp0y2dgB89aDKDvrwuq0Q2V71bu5ftwi01DMzpCpAkkW1BAYF6FIwm1b2Vlvn2E6keJguhPfRkQpI85Xb0EFbIeI3CpV6LSnKNYvNMQQvEAyFEfrmA2Fwgwwf9j2vV+BqDd97nb3nJBmXqRQxjtz4Z3x8Br5nI7EcaItr7kbgCGUwLbihOsncG/BlsDxs3XWTIPEVwieGKp0jakAK8exbGxrZ+NFqFdhtg58yZjI4FJ3pzRcwmWvGELTRQxhldmzs8W18Oyi1BQ1DZ+rp0HXeH7QHsAJY6nA+CyP7DJ9Ark+MYdzM5 On Thu, 2024-02-22 at 17:10 -0800, Saravana Kannan wrote: > On Thu, Feb 22, 2024 at 5:01=E2=80=AFPM Joe Perches wro= te: > >=20 > > 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 wrote: > > > >=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 al= so passed > > > > > 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 :) > >=20 > > I'd not. checkpatch is for _patches_. > > Don't feed stuff to it that isn't patches and expect good results. >=20 > Would you be open to being a maintainer if I add a git hook > sendemail-validate wrapper? It feels silly to add myself as a > maintainer for a 1-line script. I'd rather give it to you :) I think you need a local script and not one in the tree. Or maybe some different git invocation command. Dunno.