Skip to contentSkip to conversation

Remove COLLISION_CHECK from Makefile since it's not used.

PATCH New Brian Gernhardt 1 participant 1 message Aug 11, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove COLLISION_CHECK from Makefile since it's not used.

It's rather misleading to have configuration options that don't do anything. If someone adds collision checking they might also want to restore this option.

---

Subject: Re: Change in git-svn dcommit semantics?

Quoted 10 lines · Brian Gernhardt
Quoted 5 lines · Johannes Schindelin
Quoted 2 lines

Mine also has a few variables like "COLLISION_CHECK=paranoid" and my own prefix.

Just to wake sleeping tigers: have you done a "grep COLLISION_CHECK *" recently (where recently means any date after May 3rd, 2005)?

Oh, well, that's cute. It's a configuration option that doesn't touch any code at all...

 Makefile     |    4 ----
 configure.ac |    4 ----
 2 files changed, 0 insertions(+), 8 deletions(-)
Makefile +0 -4
index 8919dab..7651104 100644
@@ -82,10 +82,6 @@ all:
 # Define NO_ACCURATE_DIFF if your diff program at least sometimes misses
 # a missing newline at the end of the file.
 #
-# Define COLLISION_CHECK below if you believe that SHA1's
-# 1461501637330902918203684832716283019655932542976 hashes do not give you
-# sufficient guarantee that no collisions between objects will ever happen.
-#
 # 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
configure.ac +0 -4
index 34e3478..e153d53 100644
@@ -316,10 +316,6 @@ GIT_PARSE_WITH(iconv))
 
 ## --enable-FEATURE[=ARG] and --disable-FEATURE
 #
-# Define COLLISION_CHECK below if you believe that SHA1's
-# 1461501637330902918203684832716283019655932542976 hashes do not give you
-# sufficient guarantee that no collisions between objects will ever happen.
-#
 # 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
Signature · 1 line
1.4.4.1.GIT