author | Alex Riesen <raa.lkml@gmail.com> | |
Mon, 28 Jul 2008 06:31:28 +0000 (08:31 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Jul 2008 06:26:25 +0000 (23:26 -0700) | ||
commit | 1ce4790bf5eeceb212f003fffcb36069c0ebb45e | |
tree | 7cdb36f5416b0d94815c351c356ea16b7c4d1887 | tree | snapshot |
parent | df57accb46695b50e2db94424e9d4ebfed0694c8 | commit | diff |
Make use of stat.ctime configurable
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: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
Documentation/git-update-index.txt | diff | blob | history | |
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
environment.c | diff | blob | history | |
read-cache.c | diff | blob | history |