t5540-http-push: remove redundant fetches
authorTay Ray Chuan <rctay89@gmail.com>
Sat, 31 Oct 2009 00:47:44 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2009 01:58:15 +0000 (17:58 -0800)
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5540-http-push.sh

index 2ece6612e13a8ae563cd992f083e1b0be4de34f5..28a746e5b94c6f3c69939afe7c377bfe65185212 100755 (executable)
@@ -116,9 +116,7 @@ test_expect_success 'create and delete remote branch' '
        test_tick &&
        git commit -m dev &&
        git push origin dev &&
-       git fetch &&
        git push origin :dev &&
-       git fetch &&
        test_must_fail git show-ref --verify refs/remotes/origin/dev
 '