Re: Fix interesting git-rev-list corner case
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jul 30, 2005, 20:56 UTC
- Message-ID
- <Pine.LNX.4.58.0507301354000.29650@g5.osdl.org>
- In-Reply-To
- <m3fytwm313.fsf@telia.com>
On Sat, 30 Jul 2005, Peter Osterlund wrote:
Show 10 quoted lines
> > OK, but note that I didn't do any editing of any local files myself. > Both commit ids are from your public linux kernel git tree. What I did > was equivalent to: > > 1. rsync from rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ > 2. waited a day or so. > 3. git-pull-script from the same kernel.org repository. > > Is it expected that you end up with merge conflicts in this case?
Nope. Something went wrong.
> I think it should be possible to just fast forward to the new HEAD in > this situation.
Indeed.
Can you send me your HEAD and MERGE_HEAD (don't do the merge).
Sounds like maybe "git-merge-base" is confused, and thinks HEAD is not reachable from FETCH_HEAD. It could have a similar bug git-rev-list had.
Linus