Skip to content

Commit

Permalink
Update the git-archive export options
Browse files Browse the repository at this point in the history
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.

Change-Id: Ib70cba174211ff75d69ec6ba30b680e0757ab369
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  • Loading branch information
thiagomacieira authored and Qt by Nokia committed Sep 5, 2012
1 parent 36e84c6 commit 0b501b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore
.commit-template export-ignore
1 change: 1 addition & 0 deletions .tag
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$Format:%H$

0 comments on commit 0b501b1

Please sign in to comment.