git/list[1] front-page[2] threads[3] people[4] search[5] about
 

{bug} warning: unable to access 'RelNotes/.gitattributes'

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 13, 2012, 06:32 UTC
Message-ID
<7vpq5qa0w9.fsf@alter.siamese.dyndns.org>

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

Next: Jeff King
Message 1 of 5 in “{bug} warning: unable to access 'RelNotes/.gitattributes'”
  1. Junio C HamanoSep 13, 2012
  2. Jeff KingSep 13, 2012
  3. Junio C HamanoSep 13, 2012
  4. Jeff KingSep 13, 2012
  5. Junio C HamanoSep 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.