Skip to content

Commit f569897

Browse files
avarttaylorr
authored andcommitted
Makefile: rephrase the discussion of *_SHA1 knobs
In the preceding commit the discussion of the *_SHA1 knobs was left as-is to benefit from a smaller diff, but since we're changing these let's use the same phrasing we use for most other knobs. E.g. "define X", not "define X environment variable", and get rid of the "when running make to link with" entirely. Furthermore the discussion of DC_SHA1* options is now under a "Options for the sha1collisiondetection implementation" heading, so we don't need to clarify that these options go along with DC_SHA1=Y, so let's rephrase them accordingly. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent 34b660e commit f569897

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -492,20 +492,20 @@ include shared.mak
492492
# Define DC_SHA1 to enable the collision-detecting sha1
493493
# algorithm. This is slower, but may detect attempted collision attacks.
494494
#
495-
# Define BLK_SHA1 environment variable to make use of the bundled
496-
# optimized C SHA1 routine.
495+
# Define BLK_SHA1 to make use of optimized C SHA-1 routines bundled
496+
# with git (in the block-sha1/ directory).
497497
#
498-
# Define OPENSSL_SHA1 environment variable when running make to link
499-
# with the SHA1 routine from openssl library.
498+
# Define OPENSSL_SHA1 to link to the SHA-1 routines from the OpenSSL
499+
# library.
500500
#
501501
# ==== Options for the sha1collisiondetection library ====
502502
#
503-
# Define DC_SHA1_EXTERNAL in addition to DC_SHA1 if you want to build / link
503+
# Define DC_SHA1_EXTERNAL if you want to build / link
504504
# git with the external SHA1 collision-detect library.
505505
# Without this option, i.e. the default behavior is to build git with its
506506
# own built-in code (or submodule).
507507
#
508-
# Define DC_SHA1_SUBMODULE in addition to DC_SHA1 to use the
508+
# Define DC_SHA1_SUBMODULE to use the
509509
# sha1collisiondetection shipped as a submodule instead of the
510510
# non-submodule copy in sha1dc/. This is an experimental option used
511511
# by the git project to migrate to using sha1collisiondetection as a

0 commit comments

Comments
 (0)