summaryrefslogtreecommitdiff
path: root/t/t6012-rev-list-simplify.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/t6012-rev-list-simplify.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/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 510bb96..af34a1e 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"
}