summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-29 21:40:03 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-09-03 19:52:48 +0200
commit1048e0cc3669d08e685b22a9a0d1eeb88abe7ece (patch)
treedf868c61283b7e30b105ab77f9ac585aecae846f
parentee0d11870e11f1cecccbbf8a3518f3e140fe181e (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: Ie21a4ec06beb6f1f8666f4b5c654517de479f6bc 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$