Re: Problems with git over http
- From
- Sean Davis <sdavis2@mail.nih.gov>
- Date
- Sep 21, 2008, 20:51 UTC
- Message-ID
- <264855a00809211351j1392ad97xf2cd98944014edc@mail.gmail.com>
- In-Reply-To
- <vpqskrto48n.fsf@bauges.imag.fr>
On Sun, Sep 21, 2008 at 12:25 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 17 quoted lines
> "Sean Davis" <sdavis2@mail.nih.gov> writes: > >> 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).
That was dumb on my part. That is, indeed, an issue. Both the mac binary that I found and the rpm for opensuse do not include git-http-push.
Sean