How Red Hat uses GitLab for kernel development
How Red Hat uses GitLab for kernel development
Posted Oct 2, 2021 20:01 UTC (Sat) by bfields (subscriber, #19510)In reply to: How Red Hat uses GitLab for kernel development by fratti
Parent article: How Red Hat uses GitLab for kernel development
It's not *that* hard to find the previous version in my saved mail and compare.
You could compare two versions with
$ git checkout -b foo-v1 origin/master
$ git am foo-v1-mbox
$ git checkout -b foo-v2 origin/master
$ git am foo-v2-mbox
and then
$ git diff foo-v1..foo-v2
or
$ git diff foo-v1^^..foo-v2^^
though I've rarely done that in practice.
Probably this should all be easier, but it's not impossible.
Posted Oct 2, 2021 20:35 UTC (Sat)
by fratti (guest, #105722)
[Link] (3 responses)
I've also just found out about the --interdiff switch of git format-patch, so I suppose the ball is in my court to make things easier for maintainers. (Though admittedly, this again places the trust in the submitter to not mess this comparison up, either accidentally or intentionally.) Perhaps all we need is a --supplants=<message id> for git send-email to get better tracking of patch series. Thank you for sharing your perspective.
Posted Oct 2, 2021 22:59 UTC (Sat)
by zev (subscriber, #88455)
[Link] (2 responses)
Personally, I've recently found myself often wishing that "Link:" tags were more universally used. Commit messages are nice, but it's not at all infrequent that I really want to find the discussion that preceded a patch being accepted. Without a nice lore.kernel.org link right there, finding that is a lot more tedious.
Posted Oct 4, 2021 14:19 UTC (Mon)
by willy (subscriber, #9762)
[Link] (1 responses)
Posted Oct 4, 2021 16:48 UTC (Mon)
by zev (subscriber, #88455)
[Link]
Posted Oct 3, 2021 19:15 UTC (Sun)
by mkubecek (guest, #130791)
[Link]
How Red Hat uses GitLab for kernel development
How Red Hat uses GitLab for kernel development
How Red Hat uses GitLab for kernel development
Indeed I was not -- that does looks quite useful! Though after a few minutes of poking at it semi-randomly, its patch-discussion linking seems fairly spotty unfortunately (oddly, often failing even in cases where there is a Link: tag right there in the commit message). Nevertheless, I'll probably be making use of that in the future, thanks for the tip.
How Red Hat uses GitLab for kernel development
How Red Hat uses GitLab for kernel development