From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A4F6C432BE for ; Thu, 2 Sep 2021 07:23:21 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6C0A6108B for ; Thu, 2 Sep 2021 07:23:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E6C0A6108B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mLh3u-00055V-Vu; Thu, 02 Sep 2021 03:23:02 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mLh3j-00051S-1O for kernelnewbies@kernelnewbies.org; Thu, 02 Sep 2021 03:22:51 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A10F532009AD; Thu, 2 Sep 2021 03:22:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 02 Sep 2021 03:22:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=2V8/2SsCOxFTOyWp+9i0NNXb19w WD1s//uLXW4EGjkw=; b=vyTYiuUg/5Yy0rkRAQWOHGTVW8UgHESNX+b6ZaB4Epg SonI++UjnReQ9Xv2aWYF0vU9etIKn6Lf+K1ml7WKVDEyK2HAJudJrkbNyJbqOcCG ogd+iTLcDbS5Rj5HC9s/x/m6oYLnQBmKxqMWaHqWB4UHUUj0pLmhwxNYuuTHV0VI WvYZRmlTR58rGBFLAkb4M4Um4tb4wT7ls9q7tvH9IAfajNMozFInsWcUIc+YJjAd 6lfVPmn6GWTHxV70UMq+S2YiqlaIUDGk4S8VibhRlRlTvWe4qt3FZCyDieQOzfKW z/kw2aylTvlW01+JQOxH2/fUVOVZ/rIrArI5FucU+cA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2V8/2S sCOxFTOyWp+9i0NNXb19wWD1s//uLXW4EGjkw=; b=CuVyBtZaED6k1mXFdbIFs1 Q+BG7eHcU77by92MvPB6/zxmW+hYIcjclAiQHr0qKRamgiQEGOCWZD8ZMF+FalDr nj/DrCroag8AeToF7lifMzq+T2SMJDGCyGFJVeUd3S2zZhKhR89HBpVJs/0xN9SW Rjsztiokh5JZQinNNrsXiS9/QfIly9DEhi2yGY1OqOUvLuKb0tJK2Yq6T8Z7Nusw pGArOPNDg0g3zZrjP8sdNBbRkSwQnL8SoowwA9+9h/jZnnrKmxLAOYwFlYZMeeFp wVAks7T0fL+yDuenNjbi+hJobVmM3yAR8EJe2Rs1NkvUuIcbD09Wd0rHhCRcN8LA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvgedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuhe ejgfffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Sep 2021 03:22:42 -0400 (EDT) Date: Thu, 2 Sep 2021 09:22:40 +0200 From: Greg KH To: "Fabio M. De Francesco" Subject: Re: The authorship of each patch in a series Message-ID: References: <2106510.qVkflTTfAS@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2106510.qVkflTTfAS@localhost.localdomain> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Sep 02, 2021 at 09:13:55AM +0200, Fabio M. De Francesco wrote: > Hi all, > > Another developer and I collaborated to design and write a series of four > patches. Of course, we will both use the "Co-developed-by" and "Signed-off- > by" tags on each of the four works that make up the series. > > However, there is a small problem that we would like to solve. Git-log only > displays a single name preceded by "Author:", so the reader of "git log -- > pretty = short" will only be shown one of our names. > > We would like git-log to show one name after "Author:" in 1/4 and 4/4 and the > other name in 2/4 and 3/4. This arbitrary breakdown is based on the fact that > approximately 80% -90% of the lines of code from the first patch group were > actually written by one of the two co-developers and approximately 80% -90% > of the second patch group was written by the other. > > I guess Git will label anyone who submits the whole series as "Author"; works > like this or am I wrong? If so, I guess if my friend sends patches 0/4, 1/4 > and 4/4 then I should find a way to send 2/4 and 3/4 somehow that makes it > clear to the maintainer, the tool that uses to apply the series, and the > reviewers, which also 2/4 and 3/4 belong to the same series as 0/4, 1/4 and > 4/4. > > How can we achieve this? Commit the patches to your local tree with the correct authorship information (some from you, some from them), and then when you create the patch series, the correct names will show up in the email as who authored them as the "From:" line. Try it locally and see, this happens all the time in kernel development. As an example, see all of the stable-kernel -rc release announcements with the patches in them. The original authorship is preserved just fine. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies