git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git reports

From
MOMuzaffer Tolga Ozses <tolga@ozses.net>
Date
Dec 6, 2013, 19:19 UTC
Message-ID
<CAMAQ3nLgnpDo1jWFL1rqtEvmQm8LeEpZ41Uxo0GTQOk8ttpSZA@mail.gmail.com>
In-Reply-To
<20131206215334.1a9031a1450d9c436943ce3d@domain007.com>
Hi,
> What protocol/transport are you using (http, ssh, git)?
I am cloning over http
> Can you try running with:
 GIT_TRACE_PACKET=$PWD/trace.out git clone ...
GIT_TRACE_PACKET=$PWD/trace.out git clone
http://git.webciniz.im/project/night_pharmacy.git
Cloning into 'night_pharmacy'...
Checking connectivity... done
That's all I get. No trace.out was written.
> So let's do the next test: does
    echo test >&2
print "test" on the box where Git does not report progress?
Yes it does.
> Another one: does Git report progress if you explicitly pass --progress
to it?

git clone --progress http://git.webciniz.im/project/night_pharmacy.git Cloning into 'night_pharmacy'... Checking connectivity... done

That's all I get
> Does it work if you do
    git clone $URL 2>&1

git clone http://git.webciniz.im/project/night_pharmacy.git 2>&1 Cloning into 'night_pharmacy'... Checking connectivity... done

That's all I get.

Regards mto

On 6 December 2013 19:53, Konstantin Khomoutov <flatworm@users.sourceforge.net> wrote:

Show 48 quoted lines
> On Fri, 6 Dec 2013 19:44:21 +0200
> Muzaffer Tolga Ozses <tolga@ozses.net> wrote:
>
> [...]
>> >> > Resolving deltas: 100% (369/369), done.
>> >> >
>> >> > whereas I don't get those with my own. What could I be doing
>> >> > wrong?
> [...]
>> >> So it might turn out on your own server Git for some reason fails
>> >> to figure out its standard error stream is connected to a terminal.
>> >> Or, the error stream of your shell process is redirected somewhere
>> >> (and hence inherited by Git).
> [...]
>> > So you might face a misbehaving shell logon script for instance.
>> >
>> > As to whether Git senses the TTY -- what does running
>> >
>> >   stty
>> >
>> > tells you?  Does it fail with something like "inappropriate ioctl
>> > for device" or prints a couple of settings?
>> stty tells me
>> speed 38400 baud; line = 0;
>> eol = M-^?; eol2 = M-^?; swtch = M-^?;
>> ixany iutf8
>>
>> And I run identical commands on both servers, only URL changes.
>
> OK, so we could supposedly rule out the possibility Git does not sense
> it's connected to a terminal.
>
> So let's do the next test: does
>
>     echo test >&2
>
> print "test" on the box where Git does not report progress?
>
> Another one: does Git report progress if you explicitly pass --progress
> to it?
>
> Does it work if you do
>
>     git clone $URL 2>&1
>
> ?
>
> What Git and OS versions are on both machines?
Previous: Konstantin KhomoutovNext: Muzaffer Tolga Ozses
Message 7 of 12 in “Git reports”
  1. Muzaffer Tolga OzsesDec 6, 2013
  2. Konstantin KhomoutovDec 6, 2013
  3. Konstantin KhomoutovDec 6, 2013
  4. Muzaffer Tolga OzsesDec 6, 2013
  5. Jeff KingDec 6, 2013
  6. Konstantin KhomoutovDec 6, 2013
  7. Muzaffer Tolga OzsesDec 6, 2013
  8. Muzaffer Tolga OzsesDec 6, 2013
  9. Jonathan NiederDec 6, 2013
  10. Junio C HamanoDec 6, 2013
  11. Jeff KingDec 6, 2013
  12. Muzaffer Tolga OzsesDec 7, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.