Skip to content

Commit bcff237

Browse files
thiagomacieiraQt by Nokia
authored andcommitted
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: I9ebe5e6d4a854bda1191c1917eead7dde54a0e5a Reviewed-by: Oswald Buddenhagen <[email protected]>
1 parent e9ff668 commit bcff237

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitattributes

Lines changed: 3 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$Id$
1+
$Format:%H$

0 commit comments

Comments
 (0)