On Sun, 2010-11-28 at 15:47 +0100, Jan Engelhardt wrote: > Limit exclusion of files to their respective directory > that they can appear in. > > Signed-off-by: Jan Engelhardt <jeng...@medozas.de> > --- > .gitignore | 34 +++++++++++++++++----------------- > 1 files changed, 17 insertions(+), 17 deletions(-) > > diff --git a/.gitignore b/.gitignore > index a640dea..9f41f50 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -1,23 +1,23 @@ > *.lo > *.o > -ChangeLog > -INSTALL > +/ChangeLog > +/INSTALL > Makefile > Makefile.in > -aclocal.m4 > -autom4te.cache/ > -config.guess > -config.log > -config.status > -config.sub > -configure > -depcomp > -install-sh > -libtool > -ltmain.sh > -missing > -stamp-h1 > -xkbcommon.pc > -ylwrap > +/aclocal.m4 > +/autom4te.cache/ > +/config.guess > +/config.log > +/config.status > +/config.sub > +/configure > +/depcomp > +/install-sh > +/libtool > +/ltmain.sh > +/missing > +/stamp-h1 > +/xkbcommon.pc > +/ylwrap > .deps/ > .libs/
Nothing wrong with this patch, but to prevent having to update .gitignore (and forgetting to update it), you can copy the .gitignore from just about any of the xorg modules. For example: http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/.gitignore You wil be able to remove the .gitignore in the m4 directory. You can keep the AC_CONFIG_MACRO_DIR but you will need to remove the -I m4 from the Makefile.am file. The build will fail on a newly cloned repo. The .gitignore is a file containing "patterns", it's not just a list of files. It applies to all subdirectories.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com