Git development
 help / color / mirror / Atom feed
From: Shawn Pearce <spearce@spearce.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Bug in merge-recursive in virtual commit corner case
Date: Thu, 7 Dec 2006 14:24:01 -0500	[thread overview]
Message-ID: <20061207192401.GB12143@spearce.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0612071636030.28348@wbgn013.biozentrum.uni-wuerzburg.de>

Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> On Thu, 7 Dec 2006, Shawn Pearce wrote:
> 
> > So I managed to create a fairly complex set of branches which are all
> > merged back against each other at various points in time.  Two of
> > them have 3 merge bases according to git-merge-base.  Tonight I
> > tried to merge them together, but received the following wonderful
> > error from git-merge-recursive:
> > 
> >   fatal: unable to read source tree (4b825dc642cb6eb9a060e54bf8d69288fbee4904)
> > 
> > For those in the know, that's the empty tree.  This particular 
> > repository does not have the empty tree anywhere in it, which is why we 
> > can't read the object: it doesn't exist, and shouldn't exist.
> 
> I think there is something else wrong. If you have three merge bases, I do 
> not see how you could get into that particular code path.

Arrgh.  I can redo the merge and try to debug it myself; maybe I
can at least get enough details about what's going on to create a
dummy repo which exhibits the same behavior.
 
> Any possibility for me to have a private look at your repo?

No, unfortunately for me (I wish I could let you debug this!).
Far too many legal issues are involved.  There is possible jail
time on my part for sharing any of the files in there...  ;-)

Although Junio mentioned he recently saw something like this in
git.git when he merged in your xdl_merge() code.  I wonder if its
the same issue.

-- 

  reply	other threads:[~2006-12-07 19:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  8:35 Bug in merge-recursive in virtual commit corner case Shawn Pearce
2006-12-07  9:13 ` Junio C Hamano
2006-12-07 15:38 ` Johannes Schindelin
2006-12-07 19:24   ` Shawn Pearce [this message]
2006-12-08  3:03     ` Johannes Schindelin
2006-12-08  6:01     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061207192401.GB12143@spearce.org \
    --to=spearce@spearce.org \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox