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 "$Id$\n" string, ask git-archive to store
the SHA-1 of the commit being packaged.

Change-Id: Id2b018815ebc3313af30368bd9c321368bcddb67
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Thiago Macieira 2012-08-29 21:40:02 +02:00 committed by Qt by Nokia
parent 31223818b4
commit 8d379ad2a0
2 changed files with 4 additions and 2 deletions

4
.gitattributes vendored
View File

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

2
.tag
View File

@ -1 +1 @@
$Id$ $Format:%H$