Skip to content

Commit f434ea8

Browse files
thiagomacieiraQt by Nokia
authored and
Qt by Nokia
committed
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: I4525d2264d9ef92d978dc5e4186313709f8ba67b Reviewed-by: Oswald Buddenhagen <[email protected]>
1 parent d054fe4 commit f434ea8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitattributes

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
.tag ident
1+
.tag export-subst
2+
.gitignore export-ignore
3+
.gitattributes 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)