On Wed, 13 May 2020 18:21:11 +0200 Daniel Kiper <dki...@net-space.pl> wrote:
> On Fri, May 08, 2020 at 06:50:47AM +0200, Hans Ulrich Niedermann > wrote: [... lots of gitignore stuff again ... ] > > +/doc/mdate-sh > > +/doc/texinfo.tex > > +/install-sh > > +/INSTALL > > +/missing > > + > > +# Generated by "configure" > > +Makefile > > +.deps/ > > Slash, "/", prefix? Trailing slash just means "match directory" as opposed to "match file or directory", so ".deps/" matches every directory named ".deps", while the ".deps" pattern also matches files called ".deps". I'd rather such a file showed up in "git status" so such a weird thing would be noticed. The leading slash to match only relative to the .gitignore file's directory is only implied with slashes somewhere within the pattern, e.g. "doc/texinfo.tex" and "/doc/textinfo.tex" have the identical meaning. > > + > > +/config.h > > +/config.log > > +/config.status > > +/stamp-h1 > > + > > +# Generated by "make" > > +/doc/*.c.texi > > +/doc/*.h.texi > > +/doc/*.S.texi > > +/doc/multiboot.info* > > +/doc/stamp-vti > > +/doc/version.texi > > + > > +*.o > > Could you be more consistent and list prefixed and not prefixed > variants in the same order in each section? Good point. Uli _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel