path: root/.gitattributes
diff options
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 16:11:43 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-05 14:33:37 +0200
commit0b501b19de5d64cb8e05d037bfe518f958859332 (patch)
tree058d9248a92bbc4ce398b5218106ba5e626ccb7c /.gitattributes
parent36e84c61a13aa5cf7d40ced02b46879822fc4b6e (diff)
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: Ib70cba174211ff75d69ec6ba30b680e0757ab369 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to '.gitattributes')
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..1a045fa1
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
+.commit-template export-ignore