racy git detection and lastmodified resolution in msysgit
1 view
Skip to first unread message
Matthias Sohn
unread,
Jul 16, 2010, 8:15:09 AM7/16/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to msysGit
Shawn pointed out [1] that JGit truncates the lastmodified timestamp
cached in the index to 1s resolution
since msysgit discards the sub-second portion of the timestamp it gets
back from Windows. We are now
wondering why this can't be fixed in msysgit. A more precise racy git
detection could help to reduce the
chance to hit the racily clean case.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Matthias Sohn, msysGit
Hi,
I might misremember, but I think this was done to make the behavior consistent with Cygwin. Unless there are valid concerns within the next few days, I will gladly take a patch to fix this behavior to mimic JGit's behavior.