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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 22, 2016 at 2:38 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote:
> On Tue, Mar 22, 2016 at 11:22 AM, Stefan Beller <sbeller@xxxxxxxxxx> 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.busybox.net/buildroot tmp_workdir
> fails as a standalone program as well, so let's debug that.

GIT_TRACE_PACKET=2 git clone --quiet --no-checkout --separate-git-dir
tmp_gitdir git://git.busybox.net/buildroot tmp_workdir

14:40:17.369362 pkt-line.c:80           packet:        clone>
git-upload-pack /buildroot\0host=git.busybox.net\0
14:40:17.405792 pkt-line.c:80           packet:        clone<
7e4dab488594021b012b1ef3b49772eece97b760 HEAD\0multi_ack thin-pack
side-band side-band-64k ofs-delta shallow no-progress include-tag
multi_ack_detailed symref=HEAD:refs/heads/master agent=git/2.7.3
14:40:17.406765 pkt-line.c:80           packet:        clone<
1264adda0ec0ec5edaff5e372b97972cee6ae33c refs/heads/2012.11.x
14:40:17.406799 pkt-line.c:80           packet:        clone<
8ab57bf9338f3a47683294aed6425f39828cbf80 refs/heads/2013.08.x
14:40:17.406813 pkt-line.c:80           packet:        clone<
e009e7d8615eec10d2c0c2676ef5a276f0a6a5e2 refs/heads/2015.08.x
14:40:17.406826 pkt-line.c:80           packet:        clone<
9f0610c188007ee481508d453b062d77614c153d refs/heads/2015.11.x
14:40:17.406838 pkt-line.c:80           packet:        clone<
7e4dab488594021b012b1ef3b49772eece97b760 refs/heads/master
14:40:17.406851 pkt-line.c:80           packet:        clone<
2dfabd10d1e484d84c0e6b5a58ab43d131ca3230 refs/heads/next
14:40:17.406863 pkt-line.c:80           packet:        clone<
72169f4a90a86b613a0d2be6217ccda5abf0b956 refs/tags/0_0
14:40:17.406876 pkt-line.c:80           packet:        clone<
ffde94bd2ca21542ae0b4518348f8e986b9d92e0 refs/tags/0_0^{}
... lots of ref advertisement...
14:40:17.432352 pkt-line.c:80           packet:        clone<
ac0194b3d63f07bd7379f1f7ddfc2bbc69ab3272 refs/tags/2016.02-rc3
14:40:17.432356 pkt-line.c:80           packet:        clone<
100ba0f6d6b8020dd4d3ea8ffbfc7f1f3219a650 refs/tags/2016.02-rc3^{}
14:40:17.432360 pkt-line.c:80           packet:        clone<
09d8764e8ce7d00c3f2028e65187f5ff31155583 refs/tags/gcc3_legacy
14:40:17.432365 pkt-line.c:80           packet:        clone<
961229caf56a6a3e3bc9fd58805d8e83dd6a84ae refs/tags/gcc3_legacy^{}
14:40:17.432369 pkt-line.c:80           packet:        clone< 0000
14:40:17.436239 pkt-line.c:80           packet:        clone> want
7e4dab488594021b012b1ef3b49772eece97b760 multi_ack_detailed
side-band-64k thin-pack no-progress ofs-delta
agent=git/2.7.4.1.g33fcf9d
14:40:17.436258 pkt-line.c:80           packet:        clone> want
1264adda0ec0ec5edaff5e372b97972cee6ae33c
14:40:17.436268 pkt-line.c:80           packet:        clone> want
8ab57bf9338f3a47683294aed6425f39828cbf80
14:40:17.436277 pkt-line.c:80           packet:        clone> want
e009e7d8615eec10d2c0c2676ef5a276f0a6a5e2
...lots of wants...
14:40:17.437114 pkt-line.c:80           packet:        clone> want
4a5e4d74cbd91a4d9a166d38a90b5c444722cc92
14:40:17.437121 pkt-line.c:80           packet:        clone> want
2977653121ad046e8a229f22552d3ce547bfb511
14:40:17.437128 pkt-line.c:80           packet:        clone> want
834f73774a296a178b1ee550752abaa5dfcde29a
14:40:17.437135 pkt-line.c:80           packet:        clone> want
44eca8025060071a410e18df6eba446821ad9a5a
14:40:17.437143 pkt-line.c:80           packet:        clone> want
ac0194b3d63f07bd7379f1f7ddfc2bbc69ab3272
14:40:17.437150 pkt-line.c:80           packet:        clone> want
09d8764e8ce7d00c3f2028e65187f5ff31155583
14:40:17.437156 pkt-line.c:80           packet:        clone> 0000
14:40:17.437387 pkt-line.c:80           packet:        clone> done
14:40:17.488562 pkt-line.c:80           packet:        clone< NAK
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

When not giving --quiet, you'll see the client ask not for no-progress
capability in the first want line.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]