On 30/01/2023 10:04, Like Xu wrote: > From: Like Xu <likexu@xxxxxxxxxxx> > > With thousands of commits going into mainline each development cycle, > the metadata .git folder size is gradually expanding (1GB+), and for some > developers (most likely testers) who don't care about the lengthy git-log, > they just use git-archive to distribute a certain version of code (~210MB) > and rebuild git repository from anywhere for further code changes, e.g. > > $ git init && git add . -A > > Then unfortunately, the file tracking metadata from the original git-repo > using "git add -f" will also be lost, to the point where part of source > files wrapped by git-archive may be accidentally cleaned up: > > $ git clean -nxdf > Would remove Documentation/devicetree/bindings/.yamllint https://lore.kernel.org/all/20230127150225.18148-1-andriy.shevchenko@xxxxxxxxxxxxxxx/ Best regards, Krzysztof