]>
Commit | Line | Data |
---|---|---|
ea069dbe ER |
1 | |
2 | allow disabling .gitignore generation via env | |
3 | ||
4 | --- cvs-fast-export-1.40/export.c~ 2015-11-21 23:16:26.000000000 +0200 | |
5 | +++ cvs-fast-export-1.40/export.c 2016-10-13 21:10:26.557838474 +0300 | |
6 | @@ -491,8 +491,10 @@ | |
7 | } | |
8 | if (need_ignores) { | |
9 | need_ignores = false; | |
10 | + if (!getenv("DISABLE_GITIGNORE")) { | |
11 | printf("M 100644 inline .gitignore\ndata %zd\n%s\n", | |
12 | sizeof(CVS_IGNORES)-1, CVS_IGNORES); | |
13 | + } | |
14 | } | |
15 | if (revpairs != NULL && strlen(revpairs) > 0) | |
16 | { |