summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:04 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-09-03 19:54:08 +0200
commitf471e30432bacfd9d9f4ffeeb1978cb05b628adb (patch)
treebe3b6182a33a8a28bfc60b3ea3fe775eea9963c6 /.gitattributes
parent66e6420d02da35bdac76f0063c0e01904b191d85 (diff)
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>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 3 insertions, 1 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