summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-03 19:54:44 +0200
commitbcff23758370e11882f8ab3a2a38506b212d0b4b (patch)
tree8190423d1b59d6fb2f7554d4900c7f8bb3611ff9
parente9ff668fd95006d2b1c851ddb9fe9b757854b721 (diff)
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: I9ebe5e6d4a854bda1191c1917eead7dde54a0e5a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--.gitattributes4
-rw-r--r--.tag2
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
index a3c6108..a96f8f5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,3 @@
-.tag ident
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
diff --git a/.tag b/.tag
index 055c872..6828f88 100644
--- a/.tag
+++ b/.tag
@@ -1 +1 @@
-$Id$
+$Format:%H$