summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2015-07-01 19:10:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-07-01 21:54:42 (GMT)
commitb1ffafa978b99ed65b3c040ae762bfdec2379cfc (patch)
tree7220b2e9f19aa6923691f49e56755be444ebd005 /Makefile
parenta5fe66802f8c4036badd54ff36ff327d43236e7e (diff)
downloadgit-b1ffafa978b99ed65b3c040ae762bfdec2379cfc.zip
git-b1ffafa978b99ed65b3c040ae762bfdec2379cfc.tar.gz
git-b1ffafa978b99ed65b3c040ae762bfdec2379cfc.tar.bz2
Makefile / racy-git.txt: clarify USE_NSEC prerequisites
Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 54ec511..46d181a 100644
--- a/Makefile
+++ b/Makefile
@@ -217,10 +217,11 @@ all::
# as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299)
#
# Define USE_NSEC below if you want git to care about sub-second file mtimes
-# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
-# it will BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely
-# randomly break unless your underlying filesystem supports those sub-second
-# times (my ext3 doesn't).
+# and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On
+# Linux, kernel 2.6.11 or newer is required for reliable sub-second file times
+# on file systems with exactly 1 ns or 1 s resolution. If you intend to use Git
+# on other file systems (e.g. CEPH, CIFS, NTFS, UDF), don't enable USE_NSEC. See
+# Documentation/technical/racy-git.txt for details.
#
# Define USE_ST_TIMESPEC if your "struct stat" uses "st_ctimespec" instead of
# "st_ctim"