Re: Committing crimes with NTFS-3G

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

I am aware that git will refresh the index every time I switch OSes. That is NOT the problem I am having. The index is being fully refreshed on *every single* `git status` after I switch to Ubuntu, not just the first one!

On 8/30/24 07:58, Johannes Sixt wrote:
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






[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux