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

Misterious warning about file system boundaries

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 9, 2010, 20:21 UTC
Message-ID
<4C0FF7B9.8040007@drmicha.warpmail.net>
Heya,
now what is going on here? After upgrading to current next I get

warning: working tree spans across filesystems but GIT_DISCOVERY_ACROSS_FILESYSTEM is not set.

in several repos, such as my local git.git repo. That is certainly on a single file system only (ext4 over lvm over luks, all on one partition, Fedora 13). I also get this for another repo, but not for every repo. It goes away when I set the var and comes back when I don't set it, of course.

Although I haven't bisected this should be due to 52b98a7 (write-index: check and warn when worktree crosses a filesystem boundary, 2010-04-04).

How does the code detect a file system boundary, and where could it go wrong?

Michael
Next: Andreas Ericsson
Message 1 of 9 in “Misterious warning about file system boundaries”
  1. Michael J GruberJun 9, 2010
  2. Andreas EricssonJun 10, 2010
  3. Michael J GruberJun 10, 2010
  4. Erik Faye-LundJun 10, 2010
  5. Michael J GruberJun 10, 2010
  6. Ævar Arnfjörð BjarmasonJun 10, 2010
  7. Jeff KingJun 10, 2010
  8. Junio C HamanoJun 10, 2010
  9. Jeff KingJun 12, 2010

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.