summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-10 12:58:34 +0200
commitc832465d29334d4a7f63cf93add130f299274d45 (patch)
tree68528c58c60166d61f6274bb39dcb11f5c40395b
parent745e15ab3cc5cf6e0cb0cba51ca865151aadc3c8 (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: I09ec6bc30820a5ece8f1da20016953b474405bcc Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--.gitattributes3
-rw-r--r--.tag1
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..a96f8f5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+.tag export-subst
+.gitignore export-ignore
+.gitattributes export-ignore
diff --git a/.tag b/.tag
new file mode 100644
index 0000000..6828f88
--- /dev/null
+++ b/.tag
@@ -0,0 +1 @@
+$Format:%H$