From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at cryptocrack.de (Lukas Fleischer) Date: Mon, 29 Dec 2014 18:16:11 +0100 Subject: [PATCH v2] Support Git over HTTP using git-http-backend In-Reply-To: <1419872165-23537-1-git-send-email-bluewind@xinu.at> References: <1419872165-23537-1-git-send-email-bluewind@xinu.at> Message-ID: <20141229171611.32032.28075@typhoon.lan> 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 > --- > > 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