Code

t5541-http-push.sh: add test for unmatched, non-fast-forwarded refs
authorTay Ray Chuan <rctay89@gmail.com>
Fri, 8 Jan 2010 02:12:41 +0000 (10:12 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Jan 2010 07:34:10 +0000 (23:34 -0800)
commit7b69079be964ca0a09a1a7895455ba3df379984e
tree87fdf7776ae7d1a5b24b789eb611cc8d937e9429
parent1945237486851bc3a0c6d65eaeb21cb22cac2ea1
t5541-http-push.sh: add test for unmatched, non-fast-forwarded refs

Some refs can only be matched to a remote ref with an explicit refspec.
When such a ref is a non-fast-forward of its remote ref,  test that
pushing them (with the explicit refspec specified) fails with a non-
fast-foward-type error (viz. printing of ref status and help message).

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