public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: "Alan Mackenzie" <acm@muc.de>, git@vger.kernel.org
Subject: Re: Difficulties using git rebase.  Help, please!
Date: Mon, 12 Jan 2026 17:08:52 +0100	[thread overview]
Message-ID: <fefb3d25-3723-4e10-893a-620fbdc0cc45@app.fastmail.com> (raw)
In-Reply-To: <aWPFxQloyfx8x0ED@MAC.fritz.box>

On Sun, Jan 11, 2026, at 16:46, Alan Mackenzie wrote:
>[snip]
>     $ git rebase --onto master origin/linux-6.13.y HEAD
>
> ..  This didn't work well.  In particular, I got a conflict in a file that
> I had never changed.  Why?
>
> Well, I corrected the conflicts in that file, git add'ed it, git rebase
> --continue'd, then got another conflict in a file I'd never touched.
> Same again.  After the third such conflict, I gave up with git rebase
> --abort.
>
> Criticism: there doesn't appear to be a --dry-run option in git rebase,
> with which one can see how many files will be conflicted.  Instead they
> are notified one at a time, drip, drip, drip, .... to the user.  In my
> case there might have been four conflicted files, there might have been a
> thousand.  Either I'm missing something, or git rebase is missing
> something, hopefully the former.

Just a dry-run? I would use `git merge-tree HEAD
origin/linux-6.13.y`. Then you get to see what files are conflicted
without stepping through anything.


>[snip]

  parent reply	other threads:[~2026-01-12 16:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-11 15:46 Difficulties using git rebase. Help, please! Alan Mackenzie
2026-01-12 15:45 ` Alan Mackenzie
2026-01-12 16:08 ` Kristoffer Haugsbakk [this message]
2026-01-13 17:10   ` Jeff King
2026-01-13 17:41     ` Pushkar Singh
     [not found] <aWPC39kUFrvt00lY@MAC.fritz.box>
2026-01-11 15:55 ` Alan Mackenzie
2026-01-11 16:29   ` Pushkar Singh

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=fefb3d25-3723-4e10-893a-620fbdc0cc45@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail.com \
    --cc=acm@muc.de \
    --cc=git@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