diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-13 02:24:15 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 02:02:01 (GMT) |
commit | 2ece6ad2819078733d8fb8a7cd47929786631ed1 (patch) | |
tree | 949a837a8dfdd84945f35e677053e7be82727299 /t/t4006-diff-mode.sh | |
parent | bd981d5fc33677b4f074bac309ce64b39ba9d02e (diff) | |
download | git-2ece6ad2819078733d8fb8a7cd47929786631ed1.zip git-2ece6ad2819078733d8fb8a7cd47929786631ed1.tar.gz git-2ece6ad2819078733d8fb8a7cd47929786631ed1.tar.bz2 |
t: switch $_x40 to $OID_REGEX
Switch all uses of $_x40 to $OID_REGEX 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/\$_x40/$OID_REGEX/g'
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4006-diff-mode.sh')
-rwxr-xr-x | t/t4006-diff-mode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index 76f643b..a8e01ec 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -8,7 +8,7 @@ test_description='Test mode change diffs. ' . ./test-lib.sh -sed_script='s/\(:100644 100755\) \('"$_x40"'\) \2 /\1 X X /' +sed_script='s/\(:100644 100755\) \('"$OID_REGEX"'\) \2 /\1 X X /' test_expect_success 'setup' ' echo frotz >rezrov && |