git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Luc Herren <jlh@gmx.ch>
To: Aloisio <aloisiojr@gmail.com>, git@vger.kernel.org
Subject: Re: Cannot clone redirecting stdout
Date: Fri, 11 Sep 2009 10:15:51 +0200	[thread overview]
Message-ID: <4AAA0737.1030005@gmx.ch> (raw)
In-Reply-To: <fc8ab2ad0909101533l135c8003m80091cb40ec93f16@mail.gmail.com>

Hi list!

Aloisio wrote:
> this doesn't:
> git clone -n git://gitorious.org/qt/qt.git repo >log
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed

What are you trying to store in that file?  The only line I
observe being printed to stdout while cloning is this one:

    Initialized empty Git repository in [...]/repo/.git/

Everything else (progress status) is printed to stderr and I
presume that any error messages would also go to stderr too, if
any.  So possibly you would be happy with this:

    git clone -n git://gitorious.org/qt/qt.git repo 2> log

which works fine here with git-1.6.4.2.  Though I agree that I
would expect redirecting stdout to work.

Cheers,
jlh

  parent reply	other threads:[~2009-09-11  8:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-10 22:33 Cannot clone redirecting stdout Aloisio
2009-09-11  6:39 ` Stefan Naewe
2009-09-11  7:27   ` Stefan Naewe
2009-09-11  8:15 ` Jean-Luc Herren [this message]
2009-09-11 10:23 ` Jeff King
2009-09-11 13:51   ` Jeff King
2009-09-11 15:46     ` Johan Sørensen
2009-09-11 16:05       ` Jeff King
2009-09-11 16:20         ` Jeff King
2009-09-11 22:47           ` Daniel Barkalow

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=4AAA0737.1030005@gmx.ch \
    --to=jlh@gmx.ch \
    --cc=aloisiojr@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).