All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jason Gunthorpe" <jgg@ziepe.ca>
To: Jakub Kicinski <kuba@kernel.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
	toke@toke.dk,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	users@linux.kernel.org, tools@linux.kernel.org,
	Jens Axboe <axboe@kernel.dk>,
	Arnaldo Carvalho de Melo <acme@kernel.org>
Subject: Re: [kernel.org users] b4: encouraging using the cover letter in merge commits?
Date: Mon, 21 Dec 2020 15:05:52 -0400	[thread overview]
Message-ID: <20201221190552.GS5487@ziepe.ca> (raw)
In-Reply-To: <20201219092126.5633d02f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>

On Sat, Dec 19, 2020 at 09:21:26AM -0800, Jakub Kicinski wrote:
> On Sat, 19 Dec 2020 09:03:36 -0800 James Bottomley wrote:
> > > I agree that the cover letter is useful more often than not and
> > > ideally it would be included in most cases. In netdev/bpf land the
> > > maintainers do this by always creating a merge commit when applying a
> > > multi-part series; here's Daniel applying one of mine, for instance:
> > > 
> > > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=4e083fdfa39db29bbc7725e229e701867d0da183
> > > 
> > > I personally think this practice is pretty nice, and so I was hoping
> > > that supporting this workflow in b4 could be a way to encourage other
> > > maintainers to take up the practice as well :)  
> > 
> > I've got to say that creating a spurious merge for the cover letter
> > looks even more tortuous than creating an empty commit.  What
> > advantages does this have over the existing link tag practice which is
> > the one that we now use instead of the empty commit?
> 
> May be a chicken and an egg problem in case of other subsystems.
> 
> DaveM started creating those merge commits long before Links were 
> a thing (let alone lore). That gave netdev developers the ability 
> to provide a high level description of their work, reasons, goals 
> in the cover letter, rather than one of the commit messages. For
> a series with changes finely split for ease of review it's often
> awkward to pick on which commit to put that information.
> 
> Obviously the cover letter information may be made available via 
> the Link, but there's obvious value in seeing the information in 
> the repo, after all we don't replace commit messages with links.

My biggest problem with the cover letters is while the are in the
repository, someplace, I've never actually found one while hunting
around in the git history for clues, eg with 'git blame' or 'git log
log -p'

In fact more often than not I find the netdev cover letters through
hunting in lore, not through git.

Is there some git sequence to make it visible?

The Link header is a nicer because no matter how I end up at a commit
I can go back to an email discussion..

Jason

  parent reply	other threads:[~2020-12-21 19:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 21:32 b4: encouraging using the cover letter in merge commits? Toke Høiland-Jørgensen
2020-12-18 22:09 ` Konstantin Ryabitsev
2020-12-19 12:29   ` Toke Høiland-Jørgensen
2020-12-18 22:38 ` [kernel.org users] " James Bottomley
2020-12-19 12:34   ` Toke Høiland-Jørgensen
2020-12-19 17:03     ` James Bottomley
2020-12-19 17:21       ` Jakub Kicinski
2020-12-19 17:32         ` James Bottomley
2020-12-21 19:05         ` Jason Gunthorpe [this message]
2020-12-21 21:13           ` Michal Kubeček
2020-12-21 21:30           ` Arnaldo Carvalho de Melo
2020-12-22  6:30             ` Leon Romanovsky
2020-12-22  8:14               ` Geert Uytterhoeven
2020-12-22 12:36                 ` Leon Romanovsky
2021-01-05 13:38                 ` Jason Gunthorpe
2020-12-19 18:45       ` Jonathan Corbet
2020-12-19 18:49         ` James Bottomley
2020-12-19 18:57           ` Jonathan Corbet
2020-12-19 19:03             ` James Bottomley
2020-12-19 20:48               ` Arnaldo Carvalho de Melo
2020-12-19 21:01                 ` James Bottomley
2020-12-19 21:43                   ` Arnaldo Carvalho de Melo
2020-12-19 21:57                     ` James Bottomley
2020-12-19 22:17                       ` Arnaldo Carvalho de Melo
2020-12-19 23:34                         ` James Bottomley
2020-12-21 17:34       ` [tools] " Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201221190552.GS5487@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=acme@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=konstantin@linuxfoundation.org \
    --cc=kuba@kernel.org \
    --cc=toke@toke.dk \
    --cc=tools@linux.kernel.org \
    --cc=users@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.