Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2985740lqt; Tue, 23 Apr 2024 07:31:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUReEu4Z6FyeLVtQcUlP31Pj3q4we9EIE9VBQXmI+Kk2Yj85seWPHHXTE2cJRGG7L3sFxTHIWStNvmyEHE/tLzrQkJtqs2jEnGiZAMGlA== X-Google-Smtp-Source: AGHT+IFeDE7/gH9r4FTnZTi+YBMZsNGrxm3jfC1ioqY+Kz/OT/I5U1I9nkQv6uNiiCKTJV7FtzEf X-Received: by 2002:ac2:596d:0:b0:519:ff0a:a21a with SMTP id h13-20020ac2596d000000b00519ff0aa21amr7260494lfp.1.1713882666355; Tue, 23 Apr 2024 07:31:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713882666; cv=pass; d=google.com; s=arc-20160816; b=biGALNLtDF1RBs8XiURuev8yoScgrhgwfump6H5hIkor8Fe537cANcUM9OPfvFuCJe 7VPgoz/mYiFRLboEucD1bAlVP+zQ6WGRM810xHHlVhUguWIRu85kDQrMDibyn2XC8vyy vEzuwRIyqaHFyuTWw6vI1GMlYAlzoNLtuvcoTLltKnXZDhcK3pahiXB0B5yOBRLrzPUW MSdSOW8xIbqBCCwe1vePFsMwsxAcTj4Ez1BXFFkGEUWQURg/wFpLDJJHC6xt4OncJ7o8 f/SeD+FJq3nc2fypA/bCvEyh6oFXoYOcCX0i4CmEH6rmu0YZDfh4PaWIahS65UOA/86O 8bKg== 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 :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=eRYHwRDN4G7wq+qWSat/Pxe5qa57ymJQCOpmOg14M2A=; fh=GtuiYlxDV9P63zb6WdJVPvPCyxNDBGHVOZv6pPEv/wY=; b=mPnLhGkgoz28l/glC3u3gKIc6meNQDCY+pAgoY1OAbtINt+rrVmjoPyAr2MY93CkEV jg/tmWtfVAcjBN5UWJ2B/E8iGasbkpCEFpu5jO0idmgJ9C+OmA4t/MqJwRz0pwKmNycR 5N6yTmf8j1otjiGVsWItgF0RAOyNRLWH/rGY0o9Kj4RgLs1fgPg9qc5VlW2je+GQS9qr GQYHjdtFwKwYSppe9o1+vqwByvv/YuqFIdS7vKeHwbmGk9TktpVTQsPa6G0oj3vMdLdY lXa2rM+Jo8GzKorp/8OZkk4YBNisg/3IeSm1ru/h2jxGa3TAFn7XsP3T/Tvu5ZAKg2cv bUpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZG7vYlho; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155372-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155372-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w16-20020a1709060a1000b00a52231a529esi6797175ejf.654.2024.04.23.07.31.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 07:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155372-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; dkim=pass header.i=@intel.com header.s=Intel header.b=ZG7vYlho; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155372-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155372-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 F33501F234B3 for ; Tue, 23 Apr 2024 14:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25C8B1DFF8; Tue, 23 Apr 2024 14:30:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZG7vYlho" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 82ED517BA8; Tue, 23 Apr 2024 14:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713882657; cv=none; b=LWwwdJgUznV7J0R50beaKX7f9rupIH6RxYfae7dcZohp3pYBUeCjhlxNTmk9We49Hgvi6H4RuCk9wmB9ZggU724Pz7J4TF/3eZXkd8g9LrABVvrGH+K4sWa/jAsXeduDWtFv7BcG1VHj4fBl7AXTjpPcw9kcB81R0HZ1bSso0Sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713882657; c=relaxed/simple; bh=T41/P40s+6Zoo4IdYAoL4zuwWwRvlo4/hEyC/wAlqtc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=elY5nyGg3Mt/Ahh61neEa8L+tZx/jAxM6sQA4QBIhNTFmnBhmAGMZJjZKlI08OQqK/HZWE2xJ0+AT4AtVESsEoca1crKDDkPOnlY3mSKd/8Hli2XLdGJ0xNgu4z8fh84H0pwQIurKdD4jWEjmlGjPdKjh8B3E/P7dvLj5ktv/oU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZG7vYlho; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713882655; x=1745418655; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=T41/P40s+6Zoo4IdYAoL4zuwWwRvlo4/hEyC/wAlqtc=; b=ZG7vYlhop1wL1gjnzeFVPl79lzWqRYHVELED0yzEYrkx/LetZpne1RH1 ygU1j5vrp7zTfDDBKD70ZXip2ZannLGtq5CeLAj9RkDAaHYTKgtlepE04 zGfjNoUSOqKMipKFpeRIEa0OrUn1760Loafcvd0rz6DisUQPSxl3+sxXn OvjKltuMw2qiBpdnj4VPdSc1AJLjEF+Qpvx0F9dT9Edp3WJ9vhwOi/lxA dEgkiBQhSWbGh402PmrNp0k+0mEWcVy6vRYtPq+ezbUnOVsMzMLMmhefy hxZNg2oqoQHg06XTMwWxhrVsARAZivOFvLaVhoYskvRs7iEvtup6stbKc g==; X-CSE-ConnectionGUID: cOeyKSduRfuZXlASVQg1eg== X-CSE-MsgGUID: JwSRjgK4SsSa3ILybEF7/A== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="9300606" X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="9300606" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 07:30:54 -0700 X-CSE-ConnectionGUID: yne6HTRWSk2fp38YKxxq7A== X-CSE-MsgGUID: wU3FDOt6RyewayGjLnCbUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="28884464" Received: from fpirou-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.46.117]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 07:30:52 -0700 From: Jani Nikula To: Andy Shevchenko , Andy Shevchenko , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Corbet Subject: Re: [PATCH v1 2/2] Documentation: process: Recommend to put Cc: tags after cutter '---' line In-Reply-To: <20240423132024.2368662-3-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240423132024.2368662-1-andriy.shevchenko@linux.intel.com> <20240423132024.2368662-3-andriy.shevchenko@linux.intel.com> Date: Tue, 23 Apr 2024 17:30:49 +0300 Message-ID: <871q6wrw12.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, 23 Apr 2024, Andy Shevchenko wrote: > The recommendation is based on the following rationale: > > - it makes the commit messages much cleaner and easy to read, especially > on the screens of the mobile devices; > > - it reduces resources (memory, time, energy) to retrieve all these > headers, which are barely needed by a mere user, as for automation > they will be still available via mail archives, such as > https://lore.kernel.org, assuming the Link: or Message-ID tag is > provided. I find the information in the commit message useful, and it tells me who were explicitly included in the discussion. For example when fixing a regression I'd like to Cc everyone who was Cc'd in the regressing commit. The drm subsystem maintainer tool actually has a helper for doing just that. 'dim fixes ' digs up all the relevant info. The Cc's on the mailing list archive are harder to dig up, and do not accurately reflect the same information. A lot of patches get sent with more Cc's in the mail message than in the commit message. BR, Jani. > Let's be environment friendly and save the planet! > > Signed-off-by: Andy Shevchenko > --- > Documentation/process/5.Posting.rst | 4 ++++ > Documentation/process/submitting-patches.rst | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/Documentation/process/5.Posting.rst b/Documentation/process/5.Posting.rst > index 90a7fe2a85f2..157b3fc0087a 100644 > --- a/Documentation/process/5.Posting.rst > +++ b/Documentation/process/5.Posting.rst > @@ -276,6 +276,10 @@ for addition without the explicit permission of the person named; using > Reported-by: is fine most of the time as well, but ask for permission if > the bug was reported in private. > > +It's recommended to locate the additional Cc: tags after the cutter '---' line > +in the patches as it makes sure the commit message won't be polluted with them. > +At the same time they will be available via email headers on the mail archives, > +such as https://lore.kernel.org. > > Sending the patch > ----------------- > diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst > index 6775f0698136..0c898d9e00f5 100644 > --- a/Documentation/process/submitting-patches.rst > +++ b/Documentation/process/submitting-patches.rst > @@ -491,6 +491,11 @@ automatically converted to the Cc: email header and you do not need to > have an explicit ``Cc:`` tag, if the person is already mentioned by another > tag. > > +It's recommended to locate the additional ``Cc:`` tags after the cutter '---' line > +in the patches as it makes sure the commit message won't be polluted with them. > +At the same time they will be available via email headers on the mail archives, > +such as https://lore.kernel.org. > + > Co-developed-by: states that the patch was co-created by multiple developers; > it is used to give attribution to co-authors (in addition to the author > attributed by the From: tag) when several people work on a single patch. Since -- Jani Nikula, Intel