Re: [RFC PATCH 1/1] docs: submitting-patches: Add Sponsored-by tag to give credits to who sponsored the patch

From: Jani Nikula
Date: Mon Aug 21 2023 - 08:15:52 EST


On Mon, 21 Aug 2023, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> On Mon, Aug 21, 2023 at 11:29:27AM +0300, Jani Nikula wrote:
>> On Fri, 18 Aug 2023, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>> > but you might have (eg)
>> >
>> > Laurent Pinchard (Coca-Cola) <laurent.pinchart@xxxxxxxxxxxxxxxx>
>> >
>> > and then when working for another sponsor:
>> >
>> > Laurent Pinchard (Ford) <laurent.pinchart@xxxxxxxxxxxxxxxx>
>>
>> Just an observation, git shortlog -s/-se groups/distinguishes,
>> respectively, the author and sponsor in Laurent's approach. Not so with
>> Matthew's approach.
>
> Hm?
>
> $ git shortlog -s next-20230817..
> 1 Matthew Wilcox (Novartis)
> 25 Matthew Wilcox (Oracle)
>
> $ git shortlog -se next-20230817..
> 1 Matthew Wilcox (Novartis) <willy@xxxxxxxxxxxxx>
> 25 Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

$ git shortlog v6.4.. -s --author="Laurent Pinchart"
12 Laurent Pinchart

$ git shortlog v6.4.. -se --author="Laurent Pinchart"
2 Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
10 Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

BR,
Jani.


--
Jani Nikula, Intel Open Source Graphics Center