summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-11 09:25:30 +0200
commit165f98fcfe237a6b12462c86476c704a8fcad2d4 (patch)
treef134d36a0789bfc7bbb94186a0c0fbe34be00f27 /.gitattributes
parentfa6497d7ee448a8d63a52279254a7b8e84bf39dc (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 "$Id$\n" string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: I44640a05f6e449f5d609d63f82a75fb3bce990e6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..a96f8f547
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore