summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-09-27 16:19:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-27 16:47:02 +0200
commit3fdc6c37e241b1645e4ca156297d41f414eee2d7 (patch)
treebaeaa31c2a58363f8ea5cc9f1bc10717a319c6f4
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 <jpnurmi@digia.com> Reviewed-by: Laszlo Papp <lpapp@kde.org>
-rw-r--r--.gitattributes4
-rw-r--r--.tag1
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 @@
+$Format:%H$