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

Re: [PATCH] Add core.trustlowlevelstat for diffs in dev,ino,uid and gid

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Apr 27, 2009, 15:00 UTC
Message-ID
<alpine.LFD.2.00.0904270757410.22156@localhost.localdomain>
In-Reply-To
<7vab628u23.fsf@gitster.siamese.dyndns.org>
On Sun, 26 Apr 2009, Junio C Hamano wrote:
> 
> Was ignoring st_dev checking primarily for a work tree over NFS?

Yes, but I think there were other issues too (like git repositories on removable media).

The inode number really has similar concerns - different operating systems will use different inode numbers for both NFS and for things like FAT. It's not nearly as noticeable, because people don't tend to switch OS's as much as they might switch between two machines.

Show 11 quoted lines
> I like the end result.
> 
> But I am not sure about dropping the nanosecond resolution timestamps.
> The area was extended recently in preparation for ext4; we can take
> advantage of it to reduce the chance the racy-git avoidance codepath
> triggers if we keep it.
> 
>     fba2f38 (make USE_NSEC work as expected, 2009-02-19)
> 
>     c06ff49 (Record ns-timestamps if possible, but do not use it without
>     USE_NSEC, 2009-03-04)

Hey, we can leave the NSEC support in. Admittedly removing that was about half the patch, but even with it left in, it would be a cleanup.

		Linus
Previous: Junio C HamanoNext: Kjetil Barvik
Message 8 of 12 in “Add core.trustlowlevelstat for diffs in dev,ino,uid and gid”
  1. Add core.trustlowlevelstat for diffs in dev,ino,uid and gidRobin Rosenberg, Apr 26, 2009
  2. Robin RosenbergApr 26, 2009
  3. 1/2 Silence diffs due to use by non-C code.Robin Rosenberg, Apr 26, 2009
  4. Junio C HamanoApr 26, 2009
  5. Linus TorvaldsApr 26, 2009
  6. Robin RosenbergApr 26, 2009
  7. Junio C HamanoApr 27, 2009
  8. Linus TorvaldsApr 27, 2009
  9. Kjetil BarvikApr 27, 2009
  10. Robin RosenbergMar 14, 2010
  11. Junio C HamanoMar 15, 2010
  12. Alex RiesenMar 15, 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.