Update the git-archive export options
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 29 Aug 2012 19:40:05 +0000 (21:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 17:55:06 +0000 (19:55 +0200)
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: Ia431c37780086366c60eb2b4281382740f64da57
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
.gitattributes
.tag

index a3c6108..a96f8f5 100644 (file)
@@ -1 +1,3 @@
-.tag ident
+.tag            export-subst
+.gitignore      export-ignore
+.gitattributes  export-ignore
diff --git a/.tag b/.tag
index 055c872..6828f88 100644 (file)
--- a/.tag
+++ b/.tag
@@ -1 +1 @@
-$Id$
+$Format:%H$