Problem with git fetch over http://
- From
- John Wiegley <johnw@newartisans.com>
- Date
- Apr 25, 2008, 20:42 UTC
- Message-ID
- <63F7B390-32D1-458A-8ED9-D5AC62F46745@newartisans.com>
Hello, I'm using the Builtbot to pull sources from a Git repository, and have found that the Buildbot's Git step always uses git-fetch -- a detail of Buildbot which I currently have little control over.
This is no problem if the git:// protocol is used, but using fetch with http:// doesn't work. This has been mentioned elsewhere:
http://lists.berlios.de/pipermail/bitbake-dev/2007-November/000765.html
Here's a quick example of what I mean:
cd /tmp ; mkdir foo ; cd foo ; git init
git fetch git://newartisans.com/ledger.git # works fine
cd /tmp ; rm -fr foo ; mkdir foo ; cd foo ; git init
git fetch http://newartisans.com/git/ledger.git # fails
This is happening with git-1.5.5 on the server, Apache 2.2 and git-1.5.5.1 on the client.
Thanks, John