path: root/.gitattributes
diff options
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-10 14:24:05 +0200
commitca30abfdf782d4344ccb9c0d4ea923d2c4b993f0 (patch)
treee85aed9cf5065072ee573bc5afe902ab661060dc /.gitattributes
parent5b4c2f5910052159443f707de2071f63e83b5a5d (diff)
Update the git-archive export options
The .gitattributes and .gitignore files do not need to be present in packaged sources, as they are for people using the Git repository. People who download tarballs usually don't reimport into Git -- they should just download the actual repositories. Meanwhile, the .tag file is quite useful. Instead of making Git extract to the useless SHA-1 of the "$Id$\n" string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: I5850800f9706dda342596a9db383e9d2c60e3c3e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to '.gitattributes')
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 157176bdb8..9842d4e766 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,4 @@
-.tag ident
*_crlf.* eol=crlf
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore