summaryrefslogtreecommitdiff
path: root/t/diff-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-09-20 11:10:14 -0700
committerJunio C Hamano <gitster@pobox.com>2010-01-03 21:17:16 -0800
commitcd3c095caa6f61b4a2952e7ea167938c5b69bc3d (patch)
treee37f337b8953bf175a515016bcd059bb731f79de /t/diff-lib.sh
parent902f235378cb2b2f6dd5dd664b9630c95321f0ae (diff)
downloadgit-cd3c095caa6f61b4a2952e7ea167938c5b69bc3d.tar.gz
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 4bddeb591e..75a35fcd06 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.