Navigation Menu

Skip to content

Commit

Permalink
Update the git-archive export options
Browse files Browse the repository at this point in the history
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: I08d6173188c81586b991af4aeb69288ab5f3cba8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  • Loading branch information
thiagomacieira authored and Qt by Nokia committed Sep 3, 2012
1 parent 18077eb commit 03751b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
@@ -0,0 +1,3 @@
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore
1 change: 1 addition & 0 deletions .tag
@@ -0,0 +1 @@
$Format:%H$

0 comments on commit 03751b5

Please sign in to comment.