summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-09-27 16:26:17 +0200
committerJędrzej Nowacki <jedrzej.nowacki@digia.com>2013-09-27 17:24:18 +0200
commit7edfe3005c8081c05a708bd5b365d39c97e9fdc7 (patch)
treef0e9db7e78dbb1d77519f25c485c026341da02bc /.gitattributes
parent2f828a1d2c0403d4d04c3eb3b49fd06b01db60c7 (diff)
downloadqtenginio-7edfe3005c8081c05a708bd5b365d39c97e9fdc7.tar.gz
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: If0780aec1df27a2ef0310e295acaf1d353d2389d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
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