diff options
author | Patrick Steinhardt <ps@pks.im> | 2023-12-12 10:00:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-12 22:16:54 +0300 |
commit | 360822a3471f779c761694b11f30ff738c6851e9 (patch) | |
tree | 61adc4fbf73f145fa938660704122658d69b8bf2 /remote.h | |
parent | 91590293298c132e427851616e660e781596c0d8 (diff) |
builtin/clone: set up sparse checkout later
When asked to do a sparse checkout, then git-clone(1) will spawn
`git sparse-checkout set` to set up the configuration accordingly. This
requires a proper Git repository or otherwise the command will fail. But
as we are about to move creation of the reference database to a later
point, this prerequisite will not hold anymore.
Move the logic to a later point in time where we know to have created
the reference database already.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
0 files changed, 0 insertions, 0 deletions