From efc167b8e44bc47923b2e36d9db8bad129f9578b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 29 Aug 2012 16:05:10 +0200 Subject: [PATCH] Update the git-archive export options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitattributes | 5 ++++- .tag | 2 +- 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 @@ -$Id$ +$Format:%H$