Skip to content

Commit c8b0302

Browse files
committed
Ignore certain files when exporting with git-archive.
The content of the .gitref file will be changed to the SHA-1 of the commit being archived. Also, ignore dist/ directory at project root.
1 parent ca22d7d commit c8b0302

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gitattributes export-ignore
2+
.gitignore export-ignore
3+
.gitref export-subst

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ doc/*.op
3232
doc/*.ops
3333
doc/*.pgs
3434
doc/*.vrs
35+
/dist/

.gitref

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

ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2014-01-12 Nathan Trapuzzano <[email protected]>
2+
3+
* .gitignore: Ignore files in top-level dist/ directory.
4+
5+
* .gitattributes: Ignore certain files during git-archive.
6+
7+
* .gitref: Store commit SHA-1 during git-archive.
8+
19
2014-01-12 João Távora <[email protected]>
210

311
* .travis.yml (script): Make "check-fancy" to check contribs, not

0 commit comments

Comments
 (0)