diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-29 21:40:02 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-09-10 12:56:46 +0200 |
commit | 5d188950b86d40d85d9087bcf90e98dfa94deba4 (patch) | |
tree | 346b9628b464be88cdab0801d485a589c44060cf | |
parent | c786df115d7d0ab9968dbd6facced669cca2bf28 (diff) |
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: I1c481f4e1c7f00d7f7a03d16b5352ef6ed2b8e2d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r-- | .gitattributes | 4 | ||||
-rw-r--r-- | .tag | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes index a3c6108..a96f8f5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ -.tag ident +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore @@ -1 +1 @@ -$Id$ +$Format:%H$ |