diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-10-03 12:39:35 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-10-03 14:13:28 +0300 |
commit | c07b1a694b3bc749169147385cb57e82da839da9 (patch) | |
tree | 5d482791880e3271b8decbcd21386240bfd7e4e9 /.gitattributes | |
parent | bcd8645639fe58bf3513a40c12624ec755e0f4c8 (diff) |
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>
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..26f7dd27 --- /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 |