Re: Problems with git over http
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Sep 21, 2008, 16:25 UTC
- Message-ID
- <vpqskrto48n.fsf@bauges.imag.fr>
- In-Reply-To
- <264855a00809201013h6003abbfr9bbdd20c92e9201d@mail.gmail.com>
"Sean Davis" <sdavis2@mail.nih.gov> writes:
Show 8 quoted lines
> I am new to git and trying to set up a remote repository over http. I > have configured apache2 and the bare, empty repository. Using curl, I > can get the file HEAD without a password (seems .netrc is correct?). > However, when I try to push to the repository, I get the following: > > sdavis@lestrade:/tmp/testing> git push > http://sdavis@watson.nci.nih.gov/git/sean_git.git/ master > fatal: exec http-push failed.
Do you have git-http-push somewhere? What does "git http-push" say?
Probably you have a version of Git compiled with a too old libcurl (IIRC, it could have "worked", but a bug in the old libcurl could cause repository corruption, and therefore, git refuses to build http-push with such version of libcurl).
-- Matthieu