Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: broken racy detection and performance issues with nanosecond file times

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:06:42

Karsten Blees [off-list ref] writes:
Problem 1: Failure to detect racy files (without USE_NSEC)
==========================================================

Git may not detect racy changes when 'update-index' runs in parallel
to work tree updates.

Consider this (where timestamps are t<seconds>.<nanoseconds>):

 t0.0$ echo "foo" > file1
 t0.1$ git update-index file1 &  # runs in background
I just wonder after looking at the ampersand here ...
Please let me know what you think of this...maybe I've completely
screwed up and can no longer see the forest for all the trees.
... if your task would become much simpler if you declare "once you
give Git the control, do not muck with the repository until you get
the control back".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help