summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-10-04 08:03:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-09 06:54:41 +0200
commit034ac7def0673657cebd1c7fa86142eafdcdbe28 (patch)
tree63c859de99b3a168538d797bf7e5356948edd5a5 /.gitattributes
parentef44b8c03c4dfe7366218a7ae813ba7bee4e9852 (diff)
downloadqtquickcontrols-034ac7def0673657cebd1c7fa86142eafdcdbe28.tar.gz
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: I2b23ec88ebef02b059f56110eaca5e7c2895c791 Reviewed-by: Matti Paaso <matti.paaso@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@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 00000000..1a045fa1
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
+.commit-template export-ignore