Re: [PATCH 3/3] http-push: update tests
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 17, 2009, 21:24 UTC
- Message-ID
- <alpine.DEB.1.00.0901172223250.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <be6fef0d0901171300t44b60aedm801f6f18d88b654b@mail.gmail.com>
Hi,
On Sat, 17 Jan 2009, Ray Chuan wrote:
Show 11 quoted lines
> -test_expect_failure 'push to remote repository' ' > +test_expect_success 'push to remote repository' ' > cd "$ROOT_PATH"/test_repo_clone && > : >path2 && > git add path2 && > test_tick && > git commit -m path2 && > - git push && > + git push origin master && > [ -f "$HTTPD_DOCUMENT_ROOT_PATH/test_repo.git/refs/heads/master" ] > '
But it _should_ succeed without <remote> <branch>. It should find that there is a master locally and one remotely, and push that.
Ciao, Dscho