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: I0c93d28c4a96d4479f141c18f3234e5252be6d7c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Thiago Macieira 2012-08-29 21:40:03 +02:00 committed by Qt by Nokia
parent 0d9856b2a7
commit 07457d84b5
2 changed files with 4 additions and 0 deletions

3
.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore

1
.tag Normal file
View File

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