From c07b1a694b3bc749169147385cb57e82da839da9 2013-10-03 11:13:28 From: Sergio Ahumada Date: 2013-10-03 11:13:28 Subject: [PATCH] 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. Also removing 'tests' and 'tools' directories from the source package. Change-Id: I6823bad4ee4a5a666532e972a66da075856d5fee Reviewed-by: Miikka Heikkinen --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..26f7dd2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore +.commit-template export-ignore +tests export-ignore +tools export-ignore diff --git a/.tag b/.tag new file mode 100644 index 0000000..6828f88 --- /dev/null +++ b/.tag @@ -0,0 +1 @@ +$Format:%H$