git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should update-index --refresh force writing the index in case of racy timestamps?
@ 2021-12-17 10:44 Marc Strapetz
  2021-12-17 11:04 ` Marc Strapetz
  2021-12-17 21:14 ` brian m. carlson
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Strapetz @ 2021-12-17 10:44 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-22 11:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 10:44 Should update-index --refresh force writing the index in case of racy timestamps? Marc Strapetz
2021-12-17 11:04 ` Marc Strapetz
2021-12-17 21:14 ` brian m. carlson
2021-12-18  0:08   ` Junio C Hamano
2021-12-22 11:42     ` Marc Strapetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).