download/git: clarify why .git is removed
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Thu, 20 Apr 2017 06:36:47 +0000 (03:36 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Apr 2017 20:27:23 +0000 (22:27 +0200)
commit5d6ec40b757e664a71f7e2f5012d1efa87b3f4f5
treed5ce08322d4ae839edd5c2fe7fe5ed1d7d315c75
parentb51ed6312db602556f399a872ec95078a7e755b3
download/git: clarify why .git is removed

The removal of the .git dir before creating the tarball is not anymore
just an optimization. It is necessary to make the tarball reproducible.
Also, without the removal, large tarballs (gigabytes) would be created
for some linux trees.

Update the comment accordingly.

Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/download/git