diff options
authorThiago Macieira <>2012-08-29 16:05:10 +0200
committerQt by Nokia <>2012-09-07 15:39:31 +0200
commitefc167b8e44bc47923b2e36d9db8bad129f9578b (patch)
parent2d2b12edb4caa67695ea1c755d98fd0e9d5fe4f8 (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: I9a24a526e66f58ef2ebd9a2319bf96cf43e3e6f7 Reviewed-by: Oswald Buddenhagen <> Reviewed-by: Stephen Kelly <> Reviewed-by: Simo Fält <>
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
index a3c6108370..1a045fa1f0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,4 @@
-.tag ident
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
+.commit-template export-ignore
diff --git a/.tag b/.tag
index 055c8729cd..6828f88dcb 100644
--- a/.tag
+++ b/.tag
@@ -1 +1 @@