Re: Multiple fetches when unshallowing a shallow clone
- From
Stefan Beller <sbeller@google.com>
- Date
- Dec 4, 2015, 21:50 UTC
- Message-ID
- <CAGZ79kZMNuiiH=8zu4pJXazW8MNYCu_59MBh7iX0f0ws3dfsYA@mail.gmail.com>
- In-Reply-To
- <CACs8u9Qvqn4KDMKo+RHsQaf+dw+CGtWrOpoUJzaZAqD1rFRiuw@mail.gmail.com>
I can reproduce it now. Instead of using my $random version, I just needed origin/master to reproduce.
The second fetch is invoked via (as outputted via GIT_TRACE=1 git -C git fetch --depth=8)
13:44:56.863841 run-command.c:343 trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'https://github.com/git/git/'
so it seems like there is no explicit depth given, so I think the 0 comes from the initialization step and nobody touched it to fill with meaningful values.