Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Jeff King
On Tue, Mar 22, 2016 at 06:25:01PM -0400, Jeff King wrote: > I think you can simplify this quite a bit to just: > > git clone --quiet git://git.busybox.net/buildroot > > That breaks, but works without --quiet. Presumably the problem is on the > server side, as we see the remote end hang up (an

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Jeff King
On Tue, Mar 22, 2016 at 02:38:34PM -0700, Stefan Beller wrote: > On Tue, Mar 22, 2016 at 11:22 AM, Stefan Beller wrote: > > However lookingat your logs, I would suspect it is an error in git > > clone instead, as that is the > > last command which has the --quiet flag passed through the stack. >

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Stefan Beller
On Tue, Mar 22, 2016 at 2:59 PM, Marcus T wrote: > I should mention that I first ran into the issue in Git 2.5.0. I updated to > 2.7.4 in the hopes that it had been fixed already. > Does that ring a bell for anyone? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Stefan Beller
On Tue, Mar 22, 2016 at 2:38 PM, Stefan Beller wrote: > On Tue, Mar 22, 2016 at 11:22 AM, Stefan Beller wrote: >> However lookingat your logs, I would suspect it is an error in git >> clone instead, as that is the >> last command which has the --quiet flag passed through the stack. > > git clone

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Stefan Beller
On Tue, Mar 22, 2016 at 11:22 AM, Stefan Beller wrote: > However lookingat your logs, I would suspect it is an error in git > clone instead, as that is the > last command which has the --quiet flag passed through the stack. git clone --no-checkout --quiet --separate-git-dir tmp_gitdir git://git.b

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Stefan Beller
On Tue, Mar 22, 2016 at 8:51 AM, Marcus T wrote: git submodule was partially rewritten in v2.7 so I would assume that is some fallout from there. (passing the wrong arguments at the wrong time/place) However lookingat your logs, I would suspect it is an error in git clone instead, as that is the

Re: git fails updating submodule only if --quiet is specified

2016-03-22 Thread Marcus T
I did a bunch more investigation: My original problem was that it would work on a terminal, but not when running under jenkins. Turns out the “-v” in the "index-pack” step is whats leading to the error. I can reproduce the issue with the command "git submodule update --init --recursive > out.t

git fails updating submodule only if --quiet is specified

2016-03-22 Thread Marcus T
Hello, I’m running into a nasty issue where “git submodule update —init” fails if I add “—quiet” Following you can find the output with GIT_TRACE=1: WITHOUT --quiet: GIT_TRACE=1 git submodule update --init --recursive 15:51:48.248945 git.c:561 trace: exec: 'git-submodule' 'update