diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-10-28 00:59:06 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 02:34:58 (GMT) |
commit | cf02be848698a00a68d4d5958f9b04bb6e40b526 (patch) | |
tree | 3006f892c91d74908439565d70a2bf02fdc78f3d /t/t4045-diff-relative.sh | |
parent | 38ee26b2a3764da5120c3e0340501babef6d51c3 (diff) | |
download | git-cf02be848698a00a68d4d5958f9b04bb6e40b526.zip git-cf02be848698a00a68d4d5958f9b04bb6e40b526.tar.gz git-cf02be848698a00a68d4d5958f9b04bb6e40b526.tar.bz2 |
t4045: make hash-size independent
Replace a hard-coded all-zeros object ID with a use of $ZERO_OID.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4045-diff-relative.sh')
-rwxr-xr-x | t/t4045-diff-relative.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4045-diff-relative.sh b/t/t4045-diff-relative.sh index 36f8ed8..2588087 100755 --- a/t/t4045-diff-relative.sh +++ b/t/t4045-diff-relative.sh @@ -70,7 +70,7 @@ check_raw () { expect=$1 shift cat >expected <<-EOF - :000000 100644 0000000000000000000000000000000000000000 $blob A $expect + :000000 100644 $ZERO_OID $blob A $expect EOF test_expect_success "--raw $*" " git -C '$dir' diff --no-abbrev --raw $* HEAD^ >actual && |