t5551: do not use unportable sed '\+'
commit5e2c7cd2c124da05d1807d5ffe61b2771bb755ee
authorJunio C Hamano <gitster@pobox.com>
Sun, 12 May 2013 22:50:59 +0000 (12 15:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 May 2013 22:51:47 +0000 (12 15:51 -0700)
tree47ec52edb835b8feaa6ef374b75cedd0863a8f62
parent92758dd2a2de94c90c0697ef0e8174c3543a47f9
t5551: do not use unportable sed '\+'

The set-up step to prepare a repository with 50000 tags used a
non-porable '\+' to match one-or-more.

The error was not caught because the next test that uses that
repository did not even bother to check if these expected tags were
actually cloned to the resulting repository.

Fix the sed construct to use BRE and update the "clone" test that
wanted to test cloning from such a repository with many refs to
check the resulting repository.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch.sh