when downloading release tarballs, the archive contains some files that only makes sense in the context of a git repository (sometimes a git-repository on github). some are simply cruft and others might be harmful.
notably
.travis-ci.yml no use when not on github
.gitignore, .gitsubmodules,... only useful within a git-repository. if the release tarball is imported in a separate git-repository (e.g. Debian packaging), these files can be harmful as they shadow changes to the repository.
this PR adds a gitattributes file that excludes these files from the tarballs generated with git archive (which is used by github to create the downloadable tarballs)
when downloading release tarballs, the archive contains some files that only makes sense in the context of a git repository (sometimes a git-repository on github). some are simply cruft and others might be harmful.
notably
.travis-ci.yml
no use when not on github.gitignore
,.gitsubmodules
,... only useful within a git-repository. if the release tarball is imported in a separate git-repository (e.g. Debian packaging), these files can be harmful as they shadow changes to the repository.this PR adds a
gitattributes
file that excludes these files from the tarballs generated withgit archive
(which is used by github to create the downloadable tarballs)