git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* {bug} warning: unable to access 'RelNotes/.gitattributes'
@ 2012-09-13  6:32 Junio C Hamano
  2012-09-13 12:37 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2012-09-13  6:32 UTC (permalink / raw)
  To: Jeff King; +Cc: git

"git repack" started giving the above warning, and I am guessing
that the recent 11e50b2 (attr: warn on inaccessible attribute files,
2012-08-21) exposed a bug where we ask stat(2) not lstat(2) by
mistake before deciding to append .gitattributes to see if that
directory has a per-directory attributes file.  We simply used to
notice and ignore any failure from open() and moved on, but we
started distinguishing between ENOENT and others (in this case, we
get ENOTDIR), and added a warning for non-ENOENT cases and I think
that is what I am seeing.

It is getting late so I won't dig it further for now, but just a
heads up.

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

end of thread, other threads:[~2012-09-14  1:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13  6:32 {bug} warning: unable to access 'RelNotes/.gitattributes' Junio C Hamano
2012-09-13 12:37 ` Jeff King
2012-09-13 19:40   ` Junio C Hamano
2012-09-13 21:15     ` Jeff King
2012-09-14  1:28       ` Junio C Hamano

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).