Hello! This patch allows to enable collision check and subsecond time resolution by uncommenting one line. Also, the corresponding comments have been improved.
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> --- a/Makefile +++ b/Makefile @@ -1,13 +1,18 @@ -# -DCOLLISION_CHECK if you believe that SHA1's +# Define COLLISION_CHECK if you believe that SHA1's # 1461501637330902918203684832716283019655932542976 hashes do not give you -# enough guarantees about no collisions between objects ever hapenning. -# -# -DNSEC if you want git to care about sub-second file mtimes and ctimes. -# Note that you need some new glibc (at least >2.2.4) for this, and it will +# sufficient guarantee the no collisions between objects will ever happen. + +# DEFINES += -DCOLLISION_CHECK + +# Define NSEC if you want git to care about sub-second file mtimes and ctimes. +# Note that you will 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). -CFLAGS=-g -O3 -Wall + +# DEFINES += -DNSEC + +CFLAGS=-g -O3 -Wall $(DEFINES) CC=gcc AR=ar -- Regards, Pavel Roskin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html