Commit Graph

3 Commits

Author SHA1 Message Date
Ulf Hermann 17dcba6995 Use tree hash rather than commit hash in .tag file
We want equal source packages to have the same .tag file, even if their
commit hashes differ.

Pick-to: 5.15 6.2 6.3
Fixes: QTBUG-99608
Change-Id: Ide5047acec78fdd91617577b3c2125feb0b2bdf4
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-01-25 23:55:27 +01:00
Thiago Macieira ca30abfdf7 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: I5850800f9706dda342596a9db383e9d2c60e3c3e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-09-10 14:24:05 +02:00
axis dbbcc4dff0 Added .tag file with Git revision. 2011-05-03 16:23:50 +02:00