Re: [BUG] "commit graph is likely corrupt" on git rebase
Patrick Steinhardt <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
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