diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-29 21:40:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 19:53:14 +0200 |
commit | 82dc7f239c3de9d2313190d0cc735edcebf87b33 (patch) | |
tree | d23def23be1d63f74a4523e8d0b07e53fa212f77 | |
parent | 99fb02b3215fb97a70d0a25fa32d577bbdd5040c (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 $n string, ask git-archive to store
the SHA-1 of the commit being packaged.
Change-Id: Ibe813cb99490f7b8a267cd2c0c6eca57fea8b0bd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r-- | .gitattributes | 3 | ||||
-rw-r--r-- | .tag | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a96f8f5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore @@ -0,0 +1 @@ +$Format:%H$ |