Skip to content
  • Alex Riesen's avatar
    Make use of stat.ctime configurable · 1ce4790b
    Alex Riesen authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    A new configuration variable 'core.trustctime' is introduced to
    allow ignoring st_ctime information when checking if paths
    in the working tree has changed, because there are situations where
    it produces too much false positives.  Like when file system crawlers
    keep changing it when scanning and using the ctime for marking scanned
    files.
    
    The default is to notice ctime changes.
    
    Signed-off-by: default avatarAlex Riesen <raa.lkml@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    1ce4790b