From 7edfe3005c8081c05a708bd5b365d39c97e9fdc7 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Fri, 27 Sep 2013 16:26:17 +0200 Subject: 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: If0780aec1df27a2ef0310e295acaf1d353d2389d Reviewed-by: Jędrzej Nowacki --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1a045fa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore +.commit-template export-ignore -- cgit v1.2.1