From f471e30432bacfd9d9f4ffeeb1978cb05b628adb Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira@intel.com>
Date: Wed, 29 Aug 2012 21:40:04 +0200
Subject: [PATCH] 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: Id603b3776e114b993bd7b1f07dd3c2e95219cf1b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
---
 .gitattributes | 4 +++-
 .tag           | 2 +-
 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$
-- 
GitLab