diff options
authorSergio Ahumada <>2013-09-27 16:19:12 +0200
committerThe Qt Project <>2013-09-27 16:47:02 +0200
commit3fdc6c37e241b1645e4ca156297d41f414eee2d7 (patch)
parente07e1931ac3d2e270d7696f631aba39ea54ba3c4 (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: I46c0496d0a58c2b77d7c662a705c0ac68005b02c Reviewed-by: J-P Nurmi <> Reviewed-by: Laszlo Papp <>
2 files changed, 5 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
diff --git a/.tag b/.tag
new file mode 100644
index 0000000..6828f88
--- /dev/null
+++ b/.tag
@@ -0,0 +1 @@