Update the git-archive export options
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 29 Aug 2012 19:40:03 +0000 (21:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 10 Sep 2012 12:24:05 +0000 (14:24 +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 "$Id$\n" string, ask git-archive to store
the SHA-1 of the commit being packaged.

Change-Id: I5850800f9706dda342596a9db383e9d2c60e3c3e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
.gitattributes
.tag

index 157176b..9842d4e 100644 (file)
@@ -1,2 +1,4 @@
-.tag ident
 *_crlf.*        eol=crlf
+.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$