Skip to content

Commit efc167b

Browse files
thiagomacieiraQt by Nokia
authored and
Qt by Nokia
committed
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. Change-Id: I9a24a526e66f58ef2ebd9a2319bf96cf43e3e6f7 Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Stephen Kelly <[email protected]> Reviewed-by: Simo Fält <[email protected]>
1 parent 2d2b12e commit efc167b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitattributes

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
.tag ident
1+
.tag export-subst
2+
.gitignore export-ignore
3+
.gitattributes export-ignore
4+
.commit-template export-ignore

.tag

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$Id$
1+
$Format:%H$

0 commit comments

Comments
 (0)