From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Tue, 23 Feb 2016 14:42:45 +0000 Subject: why no process info when cloning In-Reply-To: References: <20160223094505.GF1766@serenity.lan> Message-ID: <20160223144245.GM1766@serenity.lan> On Tue, Feb 23, 2016 at 03:38:26PM +0100, Jason A. Donenfeld wrote: > On Tue, Feb 23, 2016 at 10:45 AM, John Keeping wrote: > > It's because CGit only supports the dumb HTTP protocol whereas GitHub > > supports the smart protocol. git-http-backend(1) describes how to set > > up a webserver for to support the smart protocol. > > > > [aside: given the inefficiency of the dumb HTTP protocol I wonder if we > > should mark this features as deprecated in the CGit documentation, or at > > least add a WARNING to it.] > > Rather than marking this as depreciated - this very useful feature of > cgit - since we share source with git, wouldn't it be possible to > integrate the smart protocol? Most of the code is in http-backend.c which isn't included in libgit.a, it's just used to build the standalone git-http-backend binary. We could quite easily exec git-http-backend when required but that would rely on a properly configured git installation and I know in the past you have wanted to avoid that dependency.