Signs of a too-old Git version
July 28, 2008
When running git clone, if you get an error like this:
Couldn’t get http://some.domain/somerepo.git/refs/remotes/git-svn for remotes/git-svn The requested URL returned error: 404 error: Could not interpret remotes/git-svn as something to pull
You’re probably using a really old version of Git that can’t handle some things in the newer repository. The above example was from Git 220.127.116.11, the very old version included with Debian Etch. The best way to handle that is to use Debian Backports to upgrade to Git 1.5.5.
If all else fails, grab the Git source and build it. I’ve never had a problem building the code anywhere, though building the docs requires a newer version of asciidoc than is easy to get on RHEL 3.