Should update-index --refresh force writing the index in case of racy timestamps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Should update-index --refresh force writing the index in case of racy timestamps?
- From: Marc Strapetz <marc.strapetz@xxxxxxxxxxx>
- Date: Fri, 17 Dec 2021 11:44:32 +0100
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0
For one of my Git-LFS test repositories, switching between branches
quite often results in lots of racy index timestamps. Subsequent calls
to "git update-index --refresh" or "git status" will invoke the "lfs"
filter over and over again, just to figure out that all entries are
still up-to-date. Hence, the index will never be rewritten and racy
timestamps will remain.
To break out of this state, it seems favorable to write the index if any
racy timestamp is detected. We will be able to provide a patch if this
change sounds reasonable.
-Marc
[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]