Skip to contentSkip to conversation

[Fwd: Re: git merge vs git commit]

Fwd: Re: git merge vs git commit Gustaf Hendeby 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Sorry for the dup Junio, once again hit the wrong button when answering...

/Gustaf

-------- Original Message --------
Subject: Re: git merge vs git commit
Date: Tue, 09 Sep 2008 19:56:20 +0200
From: Gustaf Hendeby <[email protected]>
To: Junio C Hamano <[email protected]>
References: <[email protected]> <[email protected]>

Quoted 9 lines · Junio C Hamano
Quoted 7 lines · Russell King

If there aren't any conflicts, you get a nice clean merge, resulting in:
...
However, if you have a conflict that needs resolving, you fix it up as
...
instead - an additional reference from commit 'K' back to commit 'A' which isn't present in the clean merge case.

Quoted 5 lines
Quoted 1 line

Is this intentional, or is it a bug?

I think some changes went into 1.6.0 around this area to (r)eject parents that are redundant. What happens when you use more recent git with the same example?

I get the same result with current next. Is this the expected result with this work, or an unwanted side effect?

/Gustaf