2 allow disabling .gitignore generation via env
4 Upstream: https://gitlab.com/esr/cvs-fast-export/issues/13
6 --- cvs-fast-export-1.62/export.c.orig 2023-12-10 13:22:44.800987007 +0100
7 +++ cvs-fast-export-1.62/export.c 2023-12-10 13:24:03.297228423 +0100
8 @@ -570,8 +570,10 @@ export_commit(git_commit *commit, const
12 + if (!getenv("DISABLE_GITIGNORE")) {
13 printf("M 100644 inline .gitignore\ndata %d\n%s\n",
14 (int)sizeof(CVS_IGNORES)-1, CVS_IGNORES);
17 if (revpairs != NULL && strlen(revpairs) > 0)