aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-09-27 16:18:15 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-27 16:28:43 +0200
commit20034e6c66c1c983c371b44bd035bd9b4dd7ade9 (patch)
tree83c99ba3a06c4c4761d9654c6349dac27710c352 /.gitattributes
parent86913b88954453b4ac49675dc238bcc80b99b54b (diff)
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: I4ad0ed39c84555447161511f257f7768d38d2173 Reviewed-by: Christian Stromme <christian.stromme@digia.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