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 <miikka.heikkinen@digia.com>
This commit is contained in:
Sergio Ahumada 2013-10-03 12:39:35 +02:00
parent bcd8645639
commit c07b1a694b
2 changed files with 7 additions and 0 deletions

6
.gitattributes vendored Normal file
View File

@ -0,0 +1,6 @@
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore
.commit-template export-ignore
tests export-ignore
tools export-ignore

1
.tag Normal file
View File

@ -0,0 +1 @@
$Format:%H$