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

Re: Committing crimes with NTFS-3G

From
Johannes Sixt <j6t@kdbg.org>
Date
Aug 30, 2024, 04:58 UTC
Message-ID
<b282c83c-2fa2-4e8e-b8bf-d42f28c17439@kdbg.org>
In-Reply-To
<7d1dad03-703c-47ae-a039-c15aa765fd0b@gaijin.team>
Am 29.08.24 um 22:43 schrieb Roman Sandu:
> To diagnose the problem, I ran git status with GIT_TRACE_PERFORMANCE
> enabled, and what I see is that the "refresh index" region is taking up
> 99% of the time.

Of course. The stat information that Git on Linux caches in the index is vastly different from that that Git for Windows caches. So every time you switch OS, all files appear modified to Git.

I suggest that you don't switch OS on a whim and take the 8 seconds delay once when you have to.

-- Hannes
Previous: Vito CaputoNext: Roman Sandu
Message 9 of 14 in “Committing crimes with NTFS-3G”
  1. Roman SanduAug 29, 2024
  2. brian m. carlsonAug 30, 2024
  3. Roman SanduAug 30, 2024
  4. brian m. carlsonAug 30, 2024
  5. Roman SanduAug 30, 2024
  6. brian m. carlsonAug 30, 2024
  7. Roman SanduAug 30, 2024
  8. Vito CaputoAug 30, 2024
  9. Johannes SixtAug 30, 2024
  10. Roman SanduAug 30, 2024
  11. Junio C HamanoAug 30, 2024
  12. Torsten BögershausenSep 3, 2024
  13. Roman SanduSep 3, 2024
  14. Torsten BögershausenSep 5, 2024

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.