[PATCH v2] Support Git over HTTP using git-http-backend

Jason A. Donenfeld Jason at zx2c4.com
Mon Jan 19 17:55:41 CET 2015


On Mon, Dec 29, 2014 at 5:56 PM, Florian Pritz <bluewind at xinu.at> wrote:
>
> +http-backend-path::
> +       Path to the git-http-backend smart HTTP backend binary.
> +http-backend-path=/usr/lib/git-core/git-http-backend
>

Instead of all this, why not just a:

execlp("git", "git", "http-backend", NULL);

This leaves resolution to PATH and git's resolver, which should be more
coherent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20150119/77cfe538/attachment.html>


More information about the CGit mailing list