git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* error: addinfo_cache failed during merge
       [not found] <8172019.33448.1317219409234.JavaMail.root@mail.hq.genarts.com>
@ 2011-09-28 14:44 ` Stephen Bash
  2011-09-28 15:24   ` Junio C Hamano
  2011-09-28 15:24   ` Stephen Bash
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Bash @ 2011-09-28 14:44 UTC (permalink / raw)
  To: git discussion list

Hi all-

I'm in the process of implementing whitespace and EOL normalization for our repo.  Having completed the work on our oldest maintenance branch, I'm attempting to merge the changes recursively into newer branches.

My approach is to merge using '-s recursive -X ours --no-commit' since the only conflicts are whitespace/EOL changes and I have to renormalize the current branch before committing anyway (new files, etc.).  Unfortunately, during the merge, I got a bunch of errors like this:

error: addinfo_cache failed for path 'foo/bar.h'

So first, is this important?  Second, can that message be replaced with something more helpful?  I'm not exactly a newbie, and I certainly can't grok that message...

Doing a bit of archeology, pickaxe shows it arose in 0424138 "Fix bogus error message from merge-recursive error path", but that was Junio cleaning up the message a bit.  The original message is from the creation of merge-recursive.c in 6d297f8 "Status update on merge-recursive in C".  I should caveat that my local git/git is a little out of date because I haven't repointed it since k.org went down (I use it very rarely), so there might be something newer in this area.

Thanks,
Stephen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error: addinfo_cache failed during merge
  2011-09-28 14:44 ` error: addinfo_cache failed during merge Stephen Bash
@ 2011-09-28 15:24   ` Junio C Hamano
  2011-09-28 15:33     ` Stephen Bash
  2011-09-28 15:44     ` Stephen Bash
  2011-09-28 15:24   ` Stephen Bash
  1 sibling, 2 replies; 5+ messages in thread
From: Junio C Hamano @ 2011-09-28 15:24 UTC (permalink / raw)
  To: Stephen Bash; +Cc: git discussion list

Stephen Bash <bash@genarts.com> writes:

> ... I should caveat that my local git/git is a little out of date
> because I haven't repointed it since k.org went down (I use it very
> rarely), so there might be something newer in this area.

Indeed there have been a few fixs in this area and it would be really nice
if you can test this with the latest master branch before 1.7.7 final
ships.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error: addinfo_cache failed during merge
  2011-09-28 14:44 ` error: addinfo_cache failed during merge Stephen Bash
  2011-09-28 15:24   ` Junio C Hamano
@ 2011-09-28 15:24   ` Stephen Bash
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Bash @ 2011-09-28 15:24 UTC (permalink / raw)
  To: git discussion list

----- Original Message -----
> From: "Stephen Bash" <bash@genarts.com>
> To: "git discussion list" <git@vger.kernel.org>
> Sent: Wednesday, September 28, 2011 10:44:03 AM
> Subject: error: addinfo_cache failed during merge
>
> Unfortunately, during the merge, I got a bunch of errors like
> this:
> 
> error: addinfo_cache failed for path 'foo/bar.h'
> 
> So first, is this important?

Well, to my uneducated eye, it looks like the error just left the conflicts in the working copy rather than resolving them.  Running mergetool appears to have cleaned up the problems.

Thanks,
Stephen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error: addinfo_cache failed during merge
  2011-09-28 15:24   ` Junio C Hamano
@ 2011-09-28 15:33     ` Stephen Bash
  2011-09-28 15:44     ` Stephen Bash
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Bash @ 2011-09-28 15:33 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git discussion list

----- Original Message -----
> From: "Junio C Hamano" <gitster@pobox.com>
> To: "Stephen Bash" <bash@genarts.com>
> Cc: "git discussion list" <git@vger.kernel.org>
> Sent: Wednesday, September 28, 2011 11:24:10 AM
> Subject: Re: error: addinfo_cache failed during merge
>
> Stephen Bash <bash@genarts.com> writes:
> 
> > ... I should caveat that my local git/git is a little out of date
> > because I haven't repointed it since k.org went down (I use it very
> > rarely), so there might be something newer in this area.
> 
> Indeed there have been a few fixs in this area and it would be really 
> nice if you can test this with the latest master branch before 1.7.7 
> final ships.

Okay.  Will do right now.

Thanks,
Stephen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error: addinfo_cache failed during merge
  2011-09-28 15:24   ` Junio C Hamano
  2011-09-28 15:33     ` Stephen Bash
@ 2011-09-28 15:44     ` Stephen Bash
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Bash @ 2011-09-28 15:44 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git discussion list

----- Original Message -----
> From: "Junio C Hamano" <gitster@pobox.com>
> To: "Stephen Bash" <bash@genarts.com>
> Cc: "git discussion list" <git@vger.kernel.org>
> Sent: Wednesday, September 28, 2011 11:24:10 AM
> Subject: Re: error: addinfo_cache failed during merge
>
> Stephen Bash <bash@genarts.com> writes:
> 
> > ... I should caveat that my local git/git is a little out of date
> > because I haven't repointed it since k.org went down (I use it very
> > rarely), so there might be something newer in this area.
> 
> Indeed there have been a few fixs in this area and it would be really
> nice if you can test this with the latest master branch before 1.7.7 
> final ships.

The problem reproduces on master (8d714b1).  Git builds really fast when I don't need docs ;)  In case it's important, this is all on MacOS 10.6.8.

Thanks,
Stephen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-28 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8172019.33448.1317219409234.JavaMail.root@mail.hq.genarts.com>
2011-09-28 14:44 ` error: addinfo_cache failed during merge Stephen Bash
2011-09-28 15:24   ` Junio C Hamano
2011-09-28 15:33     ` Stephen Bash
2011-09-28 15:44     ` Stephen Bash
2011-09-28 15:24   ` Stephen Bash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).