]> git.pld-linux.org Git - packages/cvs-fast-export.git/blob - hack-disable-cvsignore.patch
- updated to 1.66
[packages/cvs-fast-export.git] / hack-disable-cvsignore.patch
1
2 allow disabling .gitignore generation via env
3
4 Upstream: https://gitlab.com/esr/cvs-fast-export/issues/13
5
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
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         {
This page took 0.081031 seconds and 3 git commands to generate.