On Tue, May 14, 2019 at 02:19:54AM +0000, Geordan Neukum wrote: > The .gitignore files under the LICENSES/exceptions and LICENSES/other > directories cannot have a size of 0 or else they are subject to removal > by the make target 'distclean'. Modify the .gitignore files to > ignore all files except for themselves. These .gitignores can be > updated further or removed outright as new licenses are added to these > directories in the future. > > Signed-off-by: Geordan Neukum <gneukum1@xxxxxxxxx> > --- > LICENSES/exceptions/.gitignore | 4 ++++ > LICENSES/other/.gitignore | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/LICENSES/exceptions/.gitignore b/LICENSES/exceptions/.gitignore > index e69de29bb..d5e7eacf3 100644 > --- a/LICENSES/exceptions/.gitignore > +++ b/LICENSES/exceptions/.gitignore > @@ -0,0 +1,4 @@ > +# Ignore everything in this directory > +* > +# Except for this file > +!.gitignore > diff --git a/LICENSES/other/.gitignore b/LICENSES/other/.gitignore > index e69de29bb..d5e7eacf3 100644 > --- a/LICENSES/other/.gitignore > +++ b/LICENSES/other/.gitignore > @@ -0,0 +1,4 @@ > +# Ignore everything in this directory > +* If you would add an empty line here, it would be harder to read the * in the previous line as # which happend to me and made me misunderstand this patch. > +# Except for this file > +!.gitignore Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox