Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: Git reports

From: Muzaffer Tolga Ozses <hidden>
Date: 2016-06-15 22:59:24

Sorry, my git server is on CentOS and git 1.8.4.2 and my machine on
which I clone is Ubuntu, 1.8.3.2

On 6 December 2013 21:19, Muzaffer Tolga Ozses [off-list ref] wrote:
Hi,
quoted
What protocol/transport are you using (http, ssh, git)?
I am cloning over http
quoted
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.
quoted
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.
quoted
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
quoted
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
[off-list ref] wrote:
quoted
On Fri, 6 Dec 2013 19:44:21 +0200
Muzaffer Tolga Ozses [off-list ref] wrote:

[...]
quoted
quoted
quoted
quoted
Resolving deltas: 100% (369/369), done.

whereas I don't get those with my own. What could I be doing
wrong?
[...]
quoted
quoted
quoted
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).
[...]
quoted
quoted
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help