Re: Cannot clone redirecting stdout
- From
- Jean-Luc Herren <jlh@gmx.ch>
- Date
- Sep 11, 2009, 08:15 UTC
- Message-ID
- <4AAA0737.1030005@gmx.ch>
- In-Reply-To
- <fc8ab2ad0909101533l135c8003m80091cb40ec93f16@mail.gmail.com>
Hi list!
Aloisio wrote:
Show 5 quoted lines
> 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