Re: Segfault on merge with 1.6.2.1
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Apr 1, 2009, 09:50 UTC
- Message-ID
- <20090401095014.GT22446@genesis.frugalware.org>
- In-Reply-To
- <op.uro0u0xuso3nzr@sulidor.mdjohnson.us>
On Wed, Apr 01, 2009 at 12:43:38AM -0500, Michael Johnson <redbeard@mdjohnson.us> wrote:
Show 7 quoted lines
> Anyway, I decided to try an experiment, as I had mentioned to someone that > if I couldn't get this bug tracked down, I'd have to do the merge > manually. So... I figured out the common ancestor (I used git show-branch, > but I'm betting there's an easier way), and merged the ancestor + 1 of the > other branch into my HEAD. It segfaulted. So, I tried the resolve strategy > at the same point. Amazingly, it worked. And a default recursive merge > handled the rest.
I initially replied to this thread as I wasn't sure if it's a bug in merge-recursive or builtin-merge itself. I'm not that familiar with merge-recursive, that's why I didn't reply so far. ;-)
> In short, I don't personally need a fix right now, but I can help figure > out what is broken with it.
If you don't need rename detection, you can merge with '-s resolve', I think that would do what you need and it avoids the problematic codepath.