On Tuesday, December 21, 2010 23:39:44 Joel Brobecker wrote: > > diff --git a/sim/.gitignore b/sim/.gitignore > > new file mode 100644 > > index 0000000..1322a87 > > --- /dev/null > > +++ b/sim/.gitignore > > @@ -0,0 +1,7 @@ > > +/*/gentmap > > +/*/run > > +/*/targ-* > > +/*/tconfig.h > > +/*/version.c > > + > > +/common/cconfig.h > > Is this really correct? yes > The '*' matches any character except > the directory separator, so I don't see how this would work unless > the file was inside a subdirectory at root level. the file lives at sim/.gitignore. the leading / anchors to where the .gitignore file lives and not the actual root directory. thus /*/gentmap will ignore sim/bfin/gentmap and sim/arm/gentmap and ... -mike