--- a
+++ b/scripts/gitsetup/.gitattributes
@@ -0,0 +1,9 @@
+.git*            export-ignore
+
+# Exclude from source archives files specific to Git work tree.
+*                export-ignore
+
+config*          eol=lf         whitespace=indent-with-non-tab
+git-*            eol=lf         whitespace=indent-with-non-tab
+tips             eol=lf         whitespace=indent-with-non-tab
+setup-*          eol=lf         whitespace=indent-with-non-tab