# rerere failed to parse conflict hunks

3 messages from 2009-12-09 to 2009-12-09. Participants: Uwe Kleine-König, Michael J Gruber.
Thread: https://gitlist.dev/t/21916

## Uwe Kleine-König, 2009-12-09 08:46

Subject: rerere failed to parse conflict hunks
Message-ID: <20091209084648.GA30139@pengutronix.de>
URL: https://gitlist.dev/e/20091209084648.GA30139%40pengutronix.de

```
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

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

```

## Michael J Gruber, 2009-12-09 09:47

Subject: Re: rerere failed to parse conflict hunks
Message-ID: <4B1F721E.9050609@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4B1F721E.9050609%40drmicha.warpmail.net
In-Reply-To: <20091209084648.GA30139@pengutronix.de>

```
Uwe Kleine-König venit, vidit, dixit 09.12.2009 09:46:
> 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

```

## Uwe Kleine-König, 2009-12-09 10:00

Subject: Re: rerere failed to parse conflict hunks
Message-ID: <20091209100038.GD23236@pengutronix.de>
URL: https://gitlist.dev/e/20091209100038.GD23236%40pengutronix.de
In-Reply-To: <4B1F721E.9050609@drmicha.warpmail.net>

```

Best regards
Uwe

On Wed, Dec 09, 2009 at 10:47:10AM +0100, Michael J Gruber wrote:
> Uwe Kleine-König venit, vidit, dixit 09.12.2009 09:46:
> > 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.
obviously, yes.

Ben, you might want to redo commit a8c4f018ba69266aeb3cccf73c36b6663189e730

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

```
