List for cgit developers and users
 help / color / mirror / Atom feed
From: cgit at cryptocrack.de (Lukas Fleischer)
Subject: [PATCH v2] Support Git over HTTP using git-http-backend
Date: Mon, 29 Dec 2014 18:16:11 +0100	[thread overview]
Message-ID: <20141229171611.32032.28075@typhoon.lan> (raw)
In-Reply-To: <1419872165-23537-1-git-send-email-bluewind@xinu.at>

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>


  reply	other threads:[~2014-12-29 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29 16:13 [PATCH] " bluewind
2014-12-29 16:56 ` [PATCH v2] " bluewind
2014-12-29 17:16   ` cgit [this message]
2015-01-15 23:57     ` bluewind
2015-01-19 16:55   ` Jason
2015-01-19 17:08     ` cgit
2015-01-19 16:58   ` Jason
2015-01-19 17:13     ` cgit
2015-01-19 17:19       ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141229171611.32032.28075@typhoon.lan \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).