summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 16:05:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 15:39:31 +0200
commitefc167b8e44bc47923b2e36d9db8bad129f9578b (patch)
treef053f6429469fb17958ce9d28a3a78b5079a9d8f /.gitattributes
parent2d2b12edb4caa67695ea1c755d98fd0e9d5fe4f8 (diff)
downloadqtbase-efc167b8e44bc47923b2e36d9db8bad129f9578b.tar.gz
qtbase-efc167b8e44bc47923b2e36d9db8bad129f9578b.tar.bz2
qtbase-efc167b8e44bc47923b2e36d9db8bad129f9578b.zip
Update the git-archive export options
The .gitattributes, .gitignore, .commit-template 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: I9a24a526e66f58ef2ebd9a2319bf96cf43e3e6f7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Simo Fält <simo.falt@nokia.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index a3c6108370..1a045fa1f0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,4 @@
-.tag ident
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
+.commit-template export-ignore