Inefficiency of partial shallow clone vs shallow clone + "old-style" sparse checkout
- From
- Konstantin Tokarev <annulen@yandex.ru>
- Date
- Mar 27, 2020, 21:08 UTC
- Message-ID
- <2814631585342072@sas8-da6d7485e0c7.qloud-c.yandex.net>
Hello,
Is it a known thing that addition of --filter=blob:none to workflow with shalow clone (e.g. --depth=1) and following sparse checkout may significantly slow down process and result in much larger .git repository?
In case anyone is interested, I've posted my measurements at [1].
I understand this may have something to do with GitHub's server side implementation, but AFAIK there are some GitHub folks here as well.
[1] https://gist.github.com/annulen/835ac561e22bedd7138d13392a7a53be
-- Regards, Konstantin