aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-09-27 16:16:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-30 07:51:32 +0200
commita4e8a203234b84500dc025492cfd710593fbba2c (patch)
tree3801e475668b4018ada26534147ad68326f3f0d4 /.gitattributes
parentff3b658c771d8fbc17109ff5e0096ad1fe62f2e4 (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: Id6674657a9072d875e13771aadde842e1dfb3b93 Reviewed-by: Iikka Eklund <iikka.eklund@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