[PATCH v2] Support Git over HTTP using git-http-backend
Lukas Fleischer
cgit at cryptocrack.de
Mon Dec 29 18:16:11 CET 2014
On Mon, 29 Dec 2014 at 17:56:05, Florian Pritz wrote:
> This saves users from the hassle of setting up git-http-backend when
> they already run cgit.
>
> References: man git-http-backend
>
> Signed-off-by: Florian Pritz <bluewind at xinu.at>
> ---
>
> v2:
> - git_root allocation was too small by 1
> - change comment style to c89
>
> cgit.c | 3 +++
> cgit.h | 1 +
> cgitrc.5.txt | 8 ++++++++
> cmd.c | 12 ++++++++++++
> ui-clone.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ui-clone.h | 2 ++
> 6 files changed, 87 insertions(+)
> [...]
Note that directly invoking http-backend from cgit without the overhead
of execl() seems to be a bit more involved -- almost everything in
http-backend.c is marked static:
Acked-by: Lukas Fleischer <cgit at cryptocrack.de>
More information about the CGit
mailing list