summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Baudis <pasky@ucw.cz>2005-04-13 09:14:06 (GMT)
committerPetr Baudis <xpasky@machine>2005-04-13 09:14:06 (GMT)
commit5c2a7fbc362e4227ced84c32c3fdc9682d085962 (patch)
tree958b0946a5082fbc6797209fb225f5d7a786b786 /Makefile
parent7912c07037cf704394e9bcb7cb24c05ee03aa921 (diff)
downloadgit-5c2a7fbc362e4227ced84c32c3fdc9682d085962.zip
git-5c2a7fbc362e4227ced84c32c3fdc9682d085962.tar.gz
git-5c2a7fbc362e4227ced84c32c3fdc9682d085962.tar.bz2
[PATCH] SHA1 naive collision checking
When compiled with -DCOLLISION_CHECK, we will check against SHA1 collisions when writing to the object database. From: Christopher Li <chrislgit@chrisli.org> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c2c1b5..ac61a61 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
+# -DCOLLISION_CHECK if you believe that SHA1's
+# 1461501637330902918203684832716283019655932542976 hashes do not give you
+# enough guarantees about no collisions between objects ever hapenning.
CFLAGS=-g -O3 -Wall
+
CC=gcc
PROG= update-cache show-diff init-db write-tree read-tree commit-tree \