[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZONfKKwFaDQpuZ9w@casper.infradead.org>
Date: Mon, 21 Aug 2023 13:57:12 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Jani Nikula <jani.nikula@...el.com>
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Giulio Benetti <giulio.benetti@...ettiengineering.com>,
Jonathan Corbet <corbet@....net>, workflows@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 1/1] docs: submitting-patches: Add Sponsored-by tag
to give credits to who sponsored the patch
On Mon, Aug 21, 2023 at 03:15:43PM +0300, Jani Nikula wrote:
> On Mon, 21 Aug 2023, Matthew Wilcox <willy@...radead.org> wrote:
> > On Mon, Aug 21, 2023 at 11:29:27AM +0300, Jani Nikula wrote:
> >> On Fri, 18 Aug 2023, Matthew Wilcox <willy@...radead.org> wrote:
> >> > but you might have (eg)
> >> >
> >> > Laurent Pinchard (Coca-Cola) <laurent.pinchart@...asonboard.com>
> >> >
> >> > and then when working for another sponsor:
> >> >
> >> > Laurent Pinchard (Ford) <laurent.pinchart@...asonboard.com>
> >>
> >> 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@...radead.org>
> > 25 Matthew Wilcox (Oracle) <willy@...radead.org>
>
> $ 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@...asonboard.com>
> 10 Laurent Pinchart <laurent.pinchart@...asonboard.com>
I must not be understanding your point correctly.
$ git shortlog v6.4.. -s --author="Matthew Wilcox"
7 Matthew Wilcox
1 Matthew Wilcox (Novartis)
123 Matthew Wilcox (Oracle)
That seems to me like it successfully distinguishes my fake commit on
behalf of Novartis (who I haven't actually worked for since 1997) from
my real commits on behalf of Oracle. It also shows a few places where
my commits weren't attributed to Oracle (I think this happens when I
send patches using mutt instead of git-send-email)
Powered by blists - more mailing lists