diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-13 02:24:13 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 02:02:00 (GMT) |
commit | 8125a58b912e52eba7889e1dba9fe6d711b0ffdf (patch) | |
tree | 38a6b544562892c7d8bdb77a78e4ecb282f13395 /t/t2203-add-intent.sh | |
parent | 198857bf7ed1dc2403884c1e6900650b50e0f0a9 (diff) | |
download | git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.zip git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.tar.gz git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.tar.bz2 |
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/t2203-add-intent.sh')
-rwxr-xr-x | t/t2203-add-intent.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh index 78236dc..1797f94 100755 --- a/t/t2203-add-intent.sh +++ b/t/t2203-add-intent.sh @@ -30,9 +30,9 @@ test_expect_success 'git status with porcelain v2' ' nam1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d && nam2=ce013625030ba8dba906f756967f9e9ca394464a && cat >expect <<-EOF && - 1 DA N... 100644 000000 100644 $nam1 $_z40 1.t - 1 A. N... 000000 100644 100644 $_z40 $nam2 elif - 1 .A N... 000000 000000 100644 $_z40 $_z40 file + 1 DA N... 100644 000000 100644 $nam1 $ZERO_OID 1.t + 1 A. N... 000000 100644 100644 $ZERO_OID $nam2 elif + 1 .A N... 000000 000000 100644 $ZERO_OID $ZERO_OID file EOF test_cmp expect actual ' |