Git development
 help / color / mirror / Atom feed
From: Patrick Steinhardt <ps@pks.im>
To: Florian Schmidt <flosch@nutanix.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] "commit graph is likely corrupt" on git rebase
Date: Mon, 10 Aug 2026 15:43:09 +0200	[thread overview]
Message-ID: <annVbVIKtPZJ7xG7@pks.im> (raw)
In-Reply-To: <d3241733-d015-4646-88e0-06e56a04e77b@nutanix.com>

Hi Florian.

On Fri, Jul 31, 2026 at 10:05:20AM +0100, Florian Schmidt wrote:
> Hiya,
> 
> Hitting an issue during git rebase. I am starting to suspect git is possibly
> getting confused between main and submodule repos. I noticed this with a
> self-compiled git 2.54, but I compiled git v2.55 just now, and seem to hit
> the same issue still. Full bisect at the end of the message.

Did you by any chance also test the "master" branch? There's been some
fixes to the commit graph that weren't released as part of Git 2.55 yet,
so chance are those could fix the issue for you.

> The first-order issue, trying to rebase a work/foo branch which is tracking
> origin/master.  There's only one commit difference, a commit that changes
> two submodule pointers:

Do you by any chance have a minimal reproducer? That'd help us
tremendously to reproduce and then fix the issue if it wasn't already
fixed on "master".

Thanks!

Patrick

  reply	other threads:[~2026-08-10 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31  9:05 [BUG] "commit graph is likely corrupt" on git rebase Florian Schmidt
2026-08-10 13:43 ` Patrick Steinhardt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-06 19:44 Philippe Blain

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=annVbVIKtPZJ7xG7@pks.im \
    --to=ps@pks.im \
    --cc=flosch@nutanix.com \
    --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