From: Shawn Pearce <spearce@spearce.org>
To: Fabien <fabien.ubuntu@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Is git over http (git-http-push) ready for production ?
Date: Fri, 19 Feb 2010 11:05:12 -0800 [thread overview]
Message-ID: <ec874dac1002191105m6022ecdfv932a7e52eb66eb32@mail.gmail.com> (raw)
In-Reply-To: <hlm9i0$ghd$1@ger.gmane.org>
On Fri, Feb 19, 2010 at 7:08 AM, Fabien <fabien.ubuntu@gmail.com> wrote:
> Ilari Liusvaara wrote:
>> 1.6.6 introduced Smart HTTP. It is much more efficient, can run hooks and
>> has same kind of atomicity guarantees as ssh://, but it has few shorcomings:
>>
>> - Requires server support (CGI script & Git 1.6.6+)
>> - Hook messages don't work (at least with 1.6.6.X/1.7.0.X)
>> - Requires 1.6.6+ on client side
>> - Authentication still sucks (no surprise, auth with HTTP just plain sucks).
>
> Ok, thanks ! I wasn't aware of this new feature.
> I'll give it a try.
> What do you mean by "Hook messages don't work" ?
Normally over ssh:// output from a hook script is sent to the client's
stderr stream. This is handled by the SSH connection itself, not by
Git, as SSH has two data channels from server to client (stdout,
stderr). Under http:// we only have one data stream, so only the git
data that normally goes over stdout gets sent to the client. The
hook messages that are sent to stderr wind up in the HTTP server's
error log file.
I've posted patches to multiplex these messages into the git data
stream, but as far as I know, they aren't in a shipping version of Git
yet.
prev parent reply other threads:[~2010-02-19 19:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 10:26 Is git over http (git-http-push) ready for production ? Fabien
2010-02-19 11:14 ` Tay Ray Chuan
2010-02-19 13:46 ` Matthieu Moy
2010-02-19 14:04 ` Ilari Liusvaara
2010-02-19 15:08 ` Fabien
2010-02-19 19:05 ` Shawn Pearce [this message]
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=ec874dac1002191105m6022ecdfv932a7e52eb66eb32@mail.gmail.com \
--to=spearce@spearce.org \
--cc=fabien.ubuntu@gmail.com \
--cc=git@vger.kernel.org \
/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).