diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-07-29 23:14:24 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-07-30 09:16:49 -0700 |
| commit | 02a32dbff7e13c8cf39339e0fb6b331cab02688a (patch) | |
| tree | 6668286ef00b0a3610a4fd4ddf19a6e8642bfd00 /t/t4002-diff-basic.sh | |
| parent | t: add test_oid option to select hash algorithm (diff) | |
| download | git-02a32dbff7e13c8cf39339e0fb6b331cab02688a.tar.gz git-02a32dbff7e13c8cf39339e0fb6b331cab02688a.zip | |
t: allow testing different hash algorithms via environment
To allow developers to run the testsuite with a different algorithm than
the default, provide an environment variable, GIT_TEST_DEFAULT_HASH, to
specify the algorithm to use. Compute the fixed constants using
test_oid. Move the constant initialization down below the point where
test-lib-functions.sh is loaded so the functions are defined.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4002-diff-basic.sh')
0 files changed, 0 insertions, 0 deletions
