From: Tay Ray Chuan Date: Sun, 25 Oct 2009 15:23:10 GMT Subject: [PATCH 6/7] t5540-http-push: when deleting remote refs, don't need to branch -d -r Message-ID: <20091025232310.2c512a1b.rctay89@gmail.com> In-Reply-To: <20091025232227.96769e50.rctay89@gmail.com> In c6aa27e (Move WebDAV HTTP push under remote-curl, Wed Oct 14), transport->push_refs became defined for http pushing. This enabled the code to update local tracking refs (transport.c::update_tracking_ref() via transport.c::transport_push()), allowing these refs to be deleted together with the remote ref, thus doing away with a manual branch -d -r. Signed-off-by: Tay Ray Chuan --- t/t5540-http-push.sh | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh index ee7f84a..6bb5afa 100755 --- a/t/t5540-http-push.sh +++ b/t/t5540-http-push.sh @@ -116,7 +116,6 @@ test_expect_success 'create and delete remote branch' ' git push origin dev && git fetch && git push origin :dev && - git branch -d -r origin/dev && git fetch && test_must_fail git show-ref --verify refs/remotes/origin/dev ' -- 1.6.4.4