It would have been nice to use --exclude-vcs instead but not all versions of tar has that option (needs to be at least 1.29) and even then would still have to add a few more to the list of files. Quoting from their manual page (https://www.gnu.org/software/tar/manual/html_node/exclude.html): As of version 1.32, the following files are excluded: `CVS/', and everything under it `RCS/', and everything under it `SCCS/', and everything under it `.git/', and everything under it `.gitignore' `.gitmodules' `.gitattributes' `.cvsignore' `.svn/', and everything under it `.arch-ids/', and everything under it `{arch}/', and everything under it `=RELEASE-ID' `=meta-update' `=update' `.bzr' `.bzrignore' `.bzrtags' `.hg' `.hgignore' `.hgrags' `_darcs'
Bug 1621564 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
It would have been nice to use --exclude-vcs instead but not all versions of tar has that option (needs to be at least 1.29) and even then would still have to add a few more to the list of files. Quoting from their manual page (https://www.gnu.org/software/tar/manual/html_node/exclude.html): As of version 1.32, the following files are excluded: `CVS/', and everything under it `RCS/', and everything under it `SCCS/', and everything under it `.git/', and everything under it `.gitignore' `.gitmodules' `.gitattributes' `.cvsignore' `.svn/', and everything under it `.arch-ids/', and everything under it `{arch}/', and everything under it `=RELEASE-ID' `=meta-update' `=update' `.bzr' `.bzrignore' `.bzrtags' `.hg' `.hgignore' `.hgrags' `_darcs'