diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-13 02:24:13 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 11:02:00 +0900 |
commit | 8125a58b912e52eba7889e1dba9fe6d711b0ffdf (patch) | |
tree | 38a6b544562892c7d8bdb77a78e4ecb282f13395 /t/t4150-am.sh | |
parent | 198857bf7ed1dc2403884c1e6900650b50e0f0a9 (diff) | |
download | git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.tar.gz |
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/t4150-am.sh')
-rwxr-xr-x | t/t4150-am.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4150-am.sh b/t/t4150-am.sh index 1eccfb71d0..1ebc587f8f 100755 --- a/t/t4150-am.sh +++ b/t/t4150-am.sh @@ -140,8 +140,8 @@ test_expect_success setup ' echo "# User $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>" && echo "# Date $test_tick 25200" && echo "# $(git show --pretty="%aD" -s second)" && - echo "# Node ID $_z40" && - echo "# Parent $_z40" && + echo "# Node ID $ZERO_OID" && + echo "# Parent $ZERO_OID" && cat msg && echo && git diff-tree --no-commit-id -p second |