[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files

From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] Re: .mt-ignore and .cvsignore files
Date: Fri, 13 May 2005 05:40:43 +0200 (CEST)

In message <address@hidden> on Thu, 12 May 2005 16:08:27 -0700, "David Brown" 
<address@hidden> said:

monotone> On Thu, 12 May 2005 13:17:56 -0700, Richard Levitte - VMS Whacker  
monotone> <address@hidden> wrote:
monotone> > In message <address@hidden> on Wed, 11 May  
monotone> > 2005 18:34:44 -0700, Nathaniel Smith <address@hidden> said:
monotone> >
monotone> > njs> On that point, though -- would it make sense to
monotone> > njs> people that, if ignore_file returned 'true' when
monotone> > njs> given a directory, that everything inside that
monotone> > njs> directory should therefore be ignored? 
monotone> >
monotone> > I think it makes sense.
monotone> I encountered this as a problem with 'arch', though, because
monotone> their default ignore list has 'core' as a file to ignore.
monotone> It also ignores the entire net/core directory when importing
monotone> the linux kernel.

Good point.

A way to get around this is to require people to add a slash at the
end to indicate that they want to match a directory.  To then match
both a file "foo" and a directory "foo", you'd have to have the two
entries "foo" and "foo/".


Please consider sponsoring my work on free software.
See for details.

Richard Levitte                         address@hidden

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]