]> git.pld-linux.org Git - packages/cvs-fast-export.git/blame - hack-disable-cvsignore.patch
- updated to 1.66
[packages/cvs-fast-export.git] / hack-disable-cvsignore.patch
CommitLineData
ea069dbe
ER
1
2allow disabling .gitignore generation via env
3
74f28175
ER
4Upstream: https://gitlab.com/esr/cvs-fast-export/issues/13
5
0980b64f
JB
6--- cvs-fast-export-1.66/export.c.orig 2024-04-07 15:42:44.128586210 +0200
7+++ cvs-fast-export-1.66/export.c 2024-04-07 15:43:38.798290039 +0200
8@@ -581,8 +581,10 @@ static void export_commit(git_commit *co
9 }
10 if (need_ignores) {
11 need_ignores = false;
12+ if (!getenv("DISABLE_GITIGNORE")) {
13 printf("M 100644 inline .gitignore\ndata %d\n%s\n",
14 (int)sizeof(CVS_IGNORES) - 1, CVS_IGNORES);
15+ }
16 }
17 if (revpairs != NULL && strlen(revpairs) > 0) {
18 if (opts->revision_map) {
This page took 0.117506 seconds and 4 git commands to generate.