vscode: let cSpell work on commit messages, too
[gitweb.git] / t / t4002-diff-basic.sh
index 5af773d6f7d6bda468e35dc32c49a81382fe8b8a..3a6c21e8251b84b2979ac7fc5d730a3155b624b4 100755 (executable)
@@ -131,7 +131,7 @@ cmp_diff_files_output () {
     # object ID for the changed files because it wants you to look at the
     # filesystem.
     sed <"$2" >.test-tmp \
-       -e '/^:000000 /d;s/'$_x40'\( [MCRNDU][0-9]*\)   /'$ZERO_OID'\1  /' &&
+       -e '/^:000000 /d;s/'$OID_REGEX'\( [MCRNDU][0-9]*\)      /'$ZERO_OID'\1  /' &&
     test_cmp "$1" .test-tmp
 }