summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-03 19:51:51 +0200
commit658fb7fcb8ccbcf3b338801a35948527c89a664e (patch)
tree46780d33c9a74adf97e77ac299d903f34c0accd1 /.gitattributes
parent9936fc9e27c3f2022169a8fa686baa016de298df (diff)
downloadqtdoc-658fb7fcb8ccbcf3b338801a35948527c89a664e.tar.gz
Update the git-archive export options
The .gitattributes and .gitignore 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 $n string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: Ie458f4c8d573be9408607042de817ea1f96d5b83 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index a3c61083..a96f8f54 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,3 @@
-.tag ident
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore