diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-13 05:24:13 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 05:02:00 +0300 |
commit | 8125a58b912e52eba7889e1dba9fe6d711b0ffdf (patch) | |
tree | 38a6b544562892c7d8bdb77a78e4ecb282f13395 /t/t4200-rerere.sh | |
parent | 198857bf7ed1dc2403884c1e6900650b50e0f0a9 (diff) |
t: switch $_z40 to $ZERO_OID
Switch all uses of $_z40 to $ZERO_OID so that they work correctly with
larger hashes. This commit was created by using the following sed
command to modify all files in the t directory except t/test-lib.sh:
sed -i 's/\$_z40/$ZERO_OID/g'
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4200-rerere.sh')
-rwxr-xr-x | t/t4200-rerere.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4200-rerere.sh b/t/t4200-rerere.sh index eaf18c81cb..8417e5a4b1 100755 --- a/t/t4200-rerere.sh +++ b/t/t4200-rerere.sh @@ -243,7 +243,7 @@ rerere_gc_custom_expiry_test () { five_days="$1" right_now="$2" test_expect_success "rerere gc with custom expiry ($five_days, $right_now)" ' rm -fr .git/rr-cache && - rr=.git/rr-cache/$_z40 && + rr=.git/rr-cache/$ZERO_OID && mkdir -p "$rr" && >"$rr/preimage" && >"$rr/postimage" && |