{"thread":{"id":"28520","subject":"error: addinfo_cache failed during merge","startedAt":"2011-09-28T14:44:03Z","lastAt":"2011-09-28T15:44:34Z","messageCount":5,"participants":["Stephen Bash","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"176417","messageId":"26411548.33530.1317221043429.JavaMail.root@mail.hq.genarts.com","threadId":"28520","inReplyTo":"8172019.33448.1317219409234.JavaMail.root@mail.hq.genarts.com","subject":"error: addinfo_cache failed during merge","fromName":"Stephen Bash","fromEmail":"bash@genarts.com","sentAt":"2011-09-28T14:44:03Z","receivedAt":"2011-09-28T14:44:03Z","isPatch":false,"sender":{"key":"bash@genarts.com","avatar":null},"body":"Hi all-\n\nI'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.\n\nMy 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:\n\nerror: addinfo_cache failed for path 'foo/bar.h'\n\nSo 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...\n\nDoing 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.\n\nThanks,\nStephen\n"},{"id":"176423","messageId":"7vehz01yhx.fsf@alter.siamese.dyndns.org","threadId":"28520","inReplyTo":"26411548.33530.1317221043429.JavaMail.root@mail.hq.genarts.com","subject":"Re: error: addinfo_cache failed during merge","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-09-28T15:24:10Z","receivedAt":"2011-09-28T15:24:10Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stephen Bash <bash@genarts.com> writes:\n\n> ... I should caveat that my local git/git is a little out of date\n> because I haven't repointed it since k.org went down (I use it very\n> rarely), so there might be something newer in this area.\n\nIndeed there have been a few fixs in this area and it would be really nice\nif you can test this with the latest master branch before 1.7.7 final\nships.\n"},{"id":"176422","messageId":"4364790.33608.1317223450994.JavaMail.root@mail.hq.genarts.com","threadId":"28520","inReplyTo":"26411548.33530.1317221043429.JavaMail.root@mail.hq.genarts.com","subject":"Re: error: addinfo_cache failed during merge","fromName":"Stephen Bash","fromEmail":"bash@genarts.com","sentAt":"2011-09-28T15:24:11Z","receivedAt":"2011-09-28T15:24:11Z","isPatch":false,"sender":{"key":"bash@genarts.com","avatar":null},"body":"----- Original Message -----\n> From: \"Stephen Bash\" <bash@genarts.com>\n> To: \"git discussion list\" <git@vger.kernel.org>\n> Sent: Wednesday, September 28, 2011 10:44:03 AM\n> Subject: error: addinfo_cache failed during merge\n>\n> Unfortunately, during the merge, I got a bunch of errors like\n> this:\n> \n> error: addinfo_cache failed for path 'foo/bar.h'\n> \n> So first, is this important?\n\nWell, 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.\n\nThanks,\nStephen\n"},{"id":"176425","messageId":"11391926.33640.1317223996678.JavaMail.root@mail.hq.genarts.com","threadId":"28520","inReplyTo":"7vehz01yhx.fsf@alter.siamese.dyndns.org","subject":"Re: error: addinfo_cache failed during merge","fromName":"Stephen Bash","fromEmail":"bash@genarts.com","sentAt":"2011-09-28T15:33:16Z","receivedAt":"2011-09-28T15:33:16Z","isPatch":false,"sender":{"key":"bash@genarts.com","avatar":null},"body":"----- Original Message -----\n> From: \"Junio C Hamano\" <gitster@pobox.com>\n> To: \"Stephen Bash\" <bash@genarts.com>\n> Cc: \"git discussion list\" <git@vger.kernel.org>\n> Sent: Wednesday, September 28, 2011 11:24:10 AM\n> Subject: Re: error: addinfo_cache failed during merge\n>\n> Stephen Bash <bash@genarts.com> writes:\n> \n> > ... I should caveat that my local git/git is a little out of date\n> > because I haven't repointed it since k.org went down (I use it very\n> > rarely), so there might be something newer in this area.\n> \n> Indeed there have been a few fixs in this area and it would be really \n> nice if you can test this with the latest master branch before 1.7.7 \n> final ships.\n\nOkay.  Will do right now.\n\nThanks,\nStephen\n"},{"id":"176427","messageId":"8747507.33675.1317224674110.JavaMail.root@mail.hq.genarts.com","threadId":"28520","inReplyTo":"7vehz01yhx.fsf@alter.siamese.dyndns.org","subject":"Re: error: addinfo_cache failed during merge","fromName":"Stephen Bash","fromEmail":"bash@genarts.com","sentAt":"2011-09-28T15:44:34Z","receivedAt":"2011-09-28T15:44:34Z","isPatch":false,"sender":{"key":"bash@genarts.com","avatar":null},"body":"----- Original Message -----\n> From: \"Junio C Hamano\" <gitster@pobox.com>\n> To: \"Stephen Bash\" <bash@genarts.com>\n> Cc: \"git discussion list\" <git@vger.kernel.org>\n> Sent: Wednesday, September 28, 2011 11:24:10 AM\n> Subject: Re: error: addinfo_cache failed during merge\n>\n> Stephen Bash <bash@genarts.com> writes:\n> \n> > ... I should caveat that my local git/git is a little out of date\n> > because I haven't repointed it since k.org went down (I use it very\n> > rarely), so there might be something newer in this area.\n> \n> Indeed there have been a few fixs in this area and it would be really\n> nice if you can test this with the latest master branch before 1.7.7 \n> final ships.\n\nThe 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.\n\nThanks,\nStephen\n"}]}