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

Re: rerere failed to parse conflict hunks

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Dec 9, 2009, 09:47 UTC
Message-ID
<4B1F721E.9050609@drmicha.warpmail.net>
In-Reply-To
<20091209084648.GA30139@pengutronix.de>
Uwe Kleine-König venit, vidit, dixit 09.12.2009 09:46:
Show 48 quoted lines
> Hello,
> 
> I just tried to merge linux-next
> (5c1af82119f11c5b322156b09d38cc37318849c4) into my private tree
> (based on 2b876f95d03e226394b5d360c86127cbefaf614b) and this
> happened:
> 
> 	...
> 	Removing sound/soc/au1x/sample-ac97.c
> 	Recorded preimage for 'arch/Kconfig'
> 	Recorded preimage for 'arch/arm/mach-s3c2440/mach-anubis.c'
> 	Recorded preimage for 'arch/arm/plat-mxc/Makefile'
> 	error: Could not parse conflict hunks in arch/arm/plat-s3c/dev-hsmmc2.c
> 	Recorded preimage for 'arch/arm/plat-s3c/include/plat/sdhci.h'
> 	Recorded preimage for 'arch/arm/plat-samsung/Kconfig'
> 	Recorded preimage for 'arch/x86/include/asm/x86_init.h'
> 	Recorded preimage for 'arch/x86/kernel/x86_init.c'
> 	Recorded preimage for 'drivers/net/wireless/ray_cs.c'
> 	Recorded preimage for 'kernel/Makefile'
> 	Recorded preimage for 'kernel/power/hibernate.c'
> 	Recorded preimage for 'net/sctp/sysctl.c'
> 	Automatic merge failed; fix conflicts and then commit the result.
> 
> If you are interested, I can provide you the two trees above.  When
> reproducing the line "error: ..." came later, but is still present.
> 
> I guess this should be reproduceable with
> 
> 	git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 	cd linux-2.6
> 	git remote add -f next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> 	git checkout 2b876f95d03e226394b5d360c86127cbefaf614b
> 	git merge 5c1af82119f11c5b322156b09d38cc37318849c4
> 
> I havn't tried though.
> 
> The only non-trivial conflict is:
> 
> 	#include <plat/sdhci.h>
> 	#include <plat/devs.h>
> 	<<<<<<< HEAD
> 	=======
> 	<<<<<<< HEAD
> 	#include <plat/cpu.h>
> 	=======
> 	>>>>>>> next-s5pc1xx
> 	>>>>>>> next/master
> 

Someone committed a file with conflict markers. Bad bad boy. I guess a8c4f01 (fixup sdhci merge failure, 2009-11-23) did not quite what it promised.

Michael
Previous: Uwe Kleine-KönigNext: Uwe Kleine-König
Message 2 of 3 in “rerere failed to parse conflict hunks”
  1. Uwe Kleine-KönigDec 9, 2009
  2. Michael J GruberDec 9, 2009
  3. Uwe Kleine-KönigDec 9, 2009

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.