Skip to contentSkip to conversation

git merge conflict resolution?

DISCUSSION Joe Perches 2 participants 2 messages Sep 25, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Question about how git does merge conflict resolution.

This patch doesn't really apply, and the results after the patch aren't what at least I expect.

Patch 1: ====================

Quoted 15 lines · Linux Kernel Mailing List
Gitweb:     http://git.kernel.org/linus/784546839fd45de485b9e9e4cd072b9d53100aa5
Commit:     784546839fd45de485b9e9e4cd072b9d53100aa5
Parent:     07198871dac00e9c250d647e1976d7aee527b805

ARM: Update mailing list addresses
The old list has now been closed off; update the now invalid addresses.

---
 MAINTAINERS |  106 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 53 insertions(+), 53 deletions(-)
MAINTAINERS +0 -0
index 837b598..12be157 100644

MAINTAINERS F: arch/arm/include/asm/floppy.h · line 503

Quoted 8 lines
MAINTAINERS +1 -1
@@ -497,7 +497,7 @@ F:	arch/arm/include/asm/floppy.h
 
 ARM PORT
 M:	Russell King <[email protected]>
-L:	[email protected]	(subscribers-only)
+L:	[email protected]
 W:	http://www.arm.linux.org.uk/
 S:	Maintained
 F:	arch/arm/

====================

vs the patch that was applied a bit earlier:

Patch 2: ====================

commit efc03ecb9d674588a13aee27289c2af2afe5e6b4

Author: Joe Perches <[email protected]>
Date:   Mon Sep 21 17:04:27 2009 -0700

MAINTAINERS: move ARM lists to infradead

====================

Patch 2 was applied before patch 1.

Russell's patch removes the "(moderated for non-subscribers)" from each entry, yet the final result includes it.

Can someone help me understand why?

#2 lore raw
Quoted 4 lines · Joe Perches

Question about how git does merge conflict resolution.

This patch doesn't really apply, and the results after the patch aren't what at least I expect.

[...]

Quoted 4 lines

Russell's patch removes the "(moderated for non-subscribers)" from each entry, yet the final result includes it.

Can someone help me understand why?

If you look at baea7b946f00a291b166ccae7fcfed6c01530cc6, you see:

Merge branch 'origin' into for-linus

Conflicts:
MAINTAINERS

Git was unable to automatically merge that file, as there were conflicting changes. That merge was done by Russel King, and _he_ decided that the result should include the "(moderated for ...)" part.

Björn