git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [FAILED] BLD phyCORE-i.MX35 + linux-next git kernel

From
SRStephen Rothwell <sfr@canb.auug.org.au>
Date
Jul 7, 2010, 07:15 UTC
Message-ID
<20100707171547.822511cd.sfr@canb.auug.org.au>
In-Reply-To
<20100707064735.GE2502@pengutronix.de>
Hi Uwe,
On Wed, 7 Jul 2010 08:47:35 +0200 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
Show 5 quoted lines
>
> > OK, this is only the third time I have seen git mismerge something
> > automaitcally. :-(
> I can reproduce that here[1].  Is this a bug in git?  Can somebody explain?
> I expected a merge conflict or only a single occurence of devices[]

I suspect it is a matter of not enough context (or the context looks the same after applying one of the updates) for git to realise that both trees are trying to add the same code in the same place. There is a conflict, but the recursive merge decides that each tree is adding something different and so include them both (or some such :-)). Most of the time, git gets this right.

> > I have fixed this up in today's linux-next (and will continue to do so
> > while necessary).
> How do you remember this.  By "hand" or do you have some automatism for
> such things?
In this case, my scripts automatically apply a patch to the merge commit.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous: Uwe Kleine-König
Message 2 of 2 in “Re: [FAILED] BLD phyCORE-i.MX35 + linux-next git kernel”
  1. Uwe Kleine-KönigJul 7, 2010
  2. Stephen RothwellJul 7, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.