From 48906a5d942314adc2c007027518f6f606820e5c Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Fri, 27 Sep 2013 16:27:46 +0200 Subject: Update the git-archive export options 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: I2473014da9053790099711d435317601085b8414 Reviewed-by: Laszlo Papp Reviewed-by: Sergio Ahumada --- .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