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 <[email protected]>
> ---
>
> 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 <[email protected]>
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit