summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 14:05:10 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-09-03 15:51:39 (GMT)
commit6126bc47086981e48a82208fe7e8768d566f5365 (patch)
tree4ad56920d45b6ad0a4c9e7a8764337845e5200fc /.gitattributes
parent3764c0ff08b2d427dd134343a23dabdf3edbbadc (diff)
downloadQt-6126bc47086981e48a82208fe7e8768d566f5365.zip
Qt-6126bc47086981e48a82208fe7e8768d566f5365.tar.gz
Qt-6126bc47086981e48a82208fe7e8768d566f5365.tar.bz2
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>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..1a045fa
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
+.commit-template export-ignore