Re: What's cooking in git.git (Apr 2012, #05; Thu, 12)
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 16, 2012, 18:33 UTC
- Message-ID
- <CA+55aFyAsF4jNvNMKC6divzAfyVmgrHvxJtnX0fjkpp_bLHkPQ@mail.gmail.com>
- In-Reply-To
- <CA+55aFwPrjtAttsH75tTGHO=14g_2GbyOtUt4eY9LPHbtcXvcQ@mail.gmail.com>
On Mon, Apr 16, 2012 at 11:02 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 5 quoted lines
> > Oddly, running that test in verbose mode seems to imply that it's the > *rebase* that succeeds, not the merges in that test. Maybe I'm reading > the test results wrong, I didn't really try to understand the test > itself ;(
Yes, it's the rebase that succeeds. "git log -g" in the trash directory shows that we ended up successfully rebasing J2:
commit 5fc34ec1a8ed96664198fefc74121cd052b10861
Reflog: HEAD@{1} (C O Mitter <committer@example.com>)
Reflog message: rebase -i (pick): Merge made by the 'recursive' strategy.
Author: A U Thor <author@example.com>
Date: Thu Apr 7 15:28:13 2005 -0700J2
while a successful test will fail that.
However, I don't actually see what changed.
Oh - one thing to note is that the *patch* of that successful rebase is empty. That may be the big clue: we successfully finish the merge without noticing that it didn't change any state, and we should have failed it as an empty commit. Hmm?
Linus