Code

t5541-http-push: make grep expression check for one line only
authorTay Ray Chuan <rctay89@gmail.com>
Mon, 25 Jan 2010 07:42:23 +0000 (15:42 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jan 2010 17:53:02 +0000 (09:53 -0800)
commit9567f082ddc1f3143a153d0ecf59f3727ff0f7a5
treea92f60d9e777167d37fb28d0b537e5314328f193
parent0aa958d4b40159d5e72a521dda1dbe8f6e769e89
t5541-http-push: make grep expression check for one line only

Don't feed a multiple-line pattern to grep and expect the them to match
with lines in order.

Simplify the grep expressions in the non-fast-forward tests to check
only for the first line of the non-fast-forward warning - having that
line should be enough assurance that the full warning is printed.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5541-http-push.sh