summaryrefslogtreecommitdiff
path: root/t/t6012-rev-list-simplify.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/t6012-rev-list-simplify.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/t6012-rev-list-simplify.sh')
-rwxr-xr-xt/t6012-rev-list-simplify.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/t6012-rev-list-simplify.sh b/t/t6012-rev-list-simplify.sh
index 510bb9679f..af34a1e817 100755
--- a/t/t6012-rev-list-simplify.sh
+++ b/t/t6012-rev-list-simplify.sh
@@ -8,9 +8,6 @@ note () {
git tag "$1"
}
-_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"
-
unnote () {
git name-rev --tags --stdin | sed -e "s|$_x40 (tags/\([^)]*\)) |\1 |g"
}