public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: regulator branch mess
Date: Wed, 5 Nov 2025 10:08:12 -0500	[thread overview]
Message-ID: <20251105150812.GB2968640@mit.edu> (raw)
In-Reply-To: <aQrfolXgeWs8A_gK@smile.fi.intel.com>

On Wed, Nov 05, 2025 at 07:24:50AM +0200, Andy Shevchenko wrote:
> Yep, less confusing. The problem of the confusion here is the merge commit
> text, that only describes the merge of the small series but also implies bump
> from v6.18-rc3 to v6.18-rc4. Other subsystems I follow usually do an explicit
> back-merges to the rcX whenever is needed. But as I told Mark, I'm fine if
> that was a deliberate (known) move. Now it's all clear.

So what I do is I have an "origin" branch which shows the base on
which my dev series is based.  I use a rewinding workflow where I do
regularly do rebases to add Fixes: and Reviewed-by: tags, et. al.
There will be times when an upstream bugfix in some other file system
(say, vfs and mm) is affecting my testing, so I'll do a fast-forward
of my origin branch to the next rcX, and then do a rebase of my dev
branch on the new dev branch.

If there's a bug that I find before I send a pull request to Linus,
I'll fold the fix into the buggy commit, which can also avoid
potential problems when people are bisecting Linus's tree.

Since one of the goals of my using a rewinding/rebasing workflow is to
keep the dev branch clear, I consider back merges to be noise that
future kernel developers would not appreciate being permanently
preserved in Linus's tree.

I know there are some people who believe that git history should be
immutable, and should never, ever be rewound.  It's a tradeoff, and
different maintainers will use different workflows.

Cheers,

						- Ted

      reply	other threads:[~2025-11-05 15:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04 15:20 regulator branch mess Andy Shevchenko
2025-11-04 15:32 ` Mark Brown
2025-11-04 15:48   ` Andy Shevchenko
2025-11-04 15:51     ` Andy Shevchenko
2025-11-04 16:01     ` Mark Brown
2025-11-04 16:11       ` Andy Shevchenko
2025-11-04 16:18         ` Andy Shevchenko
2025-11-04 16:30           ` Mark Brown
2025-11-04 16:54             ` Andy Shevchenko
2025-11-04 17:05               ` Mark Brown
2025-11-04 17:11                 ` Andy Shevchenko
2025-11-04 22:15             ` Theodore Ts'o
2025-11-05  5:24               ` Andy Shevchenko
2025-11-05 15:08                 ` Theodore Ts'o [this message]

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=20251105150812.GB2968640@mit.edu \
    --to=tytso@mit.edu \
    --cc=andriy.shevchenko@intel.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox