summaryrefslogtreecommitdiff
path: root/t/diff-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-09-20 18:10:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-04 05:17:16 (GMT)
commitcd3c095caa6f61b4a2952e7ea167938c5b69bc3d (patch)
treee37f337b8953bf175a515016bcd059bb731f79de /t/diff-lib.sh
parent902f235378cb2b2f6dd5dd664b9630c95321f0ae (diff)
downloadgit-cd3c095caa6f61b4a2952e7ea167938c5b69bc3d.zip
git-cd3c095caa6f61b4a2952e7ea167938c5b69bc3d.tar.gz
git-cd3c095caa6f61b4a2952e7ea167938c5b69bc3d.tar.bz2
tests: move convenience regexp to match object names to test-lib.sh
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/diff-lib.sh')
-rw-r--r--t/diff-lib.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/diff-lib.sh b/t/diff-lib.sh
index 4bddeb5..75a35fc 100644
--- a/t/diff-lib.sh
+++ b/t/diff-lib.sh
@@ -1,7 +1,5 @@
:
-_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
-_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
sanitize_diff_raw='/^:/s/ '"$_x40"' '"$_x40"' \([A-Z]\)[0-9]* / X X \1# /'
compare_diff_raw () {
# When heuristics are improved, the score numbers would change.