diff options
authorThiago Macieira <>2012-08-29 21:40:05 +0200
committerOswald Buddenhagen <>2012-09-03 19:54:52 +0200
commitac763c7998447b62c8d282419e862b12d26909d9 (patch)
parenteaa78cf3394bc734db281f44a5c0f18e7972c658 (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: I57b8e5b2f17ea9b3abdcd208243c8073f6156ead Reviewed-by: Oswald Buddenhagen <>
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..a96f8f54
--- /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 00000000..6828f88d
--- /dev/null
+++ b/.tag
@@ -0,0 +1 @@