t: switch $_z40 to $ZERO_OID
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 13 May 2018 02:24:13 +0000 (02:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2018 02:02:00 +0000 (11:02 +0900)
commit8125a58b912e52eba7889e1dba9fe6d711b0ffdf
tree38a6b544562892c7d8bdb77a78e4ecb282f13395
parent198857bf7ed1dc2403884c1e6900650b50e0f0a9
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>
32 files changed:
t/t1006-cat-file.sh
t/t1400-update-ref.sh
t/t1407-worktree-ref-store.sh
t/t1450-fsck.sh
t/t1501-work-tree.sh
t/t1601-index-bogus.sh
t/t1700-split-index.sh
t/t2011-checkout-invalid-head.sh
t/t2025-worktree-add.sh
t/t2027-worktree-list.sh
t/t2107-update-index-basic.sh
t/t2201-add-update-typechange.sh
t/t2203-add-intent.sh
t/t3200-branch.sh
t/t4002-diff-basic.sh
t/t4014-format-patch.sh
t/t4020-diff-external.sh
t/t4027-diff-submodule.sh
t/t4046-diff-unmerged.sh
t/t4054-diff-bogus-tree.sh
t/t4058-diff-duplicates.sh
t/t4150-am.sh
t/t4200-rerere.sh
t/t5516-fetch-push.sh
t/t5527-fetch-odd-refs.sh
t/t5571-pre-push-hook.sh
t/t6120-describe.sh
t/t6300-for-each-ref.sh
t/t6301-for-each-ref-errors.sh
t/t7009-filter-branch-null-sha1.sh
t/t7011-skip-worktree-reading.sh
t/t7064-wtstatus-pv2.sh