[Top][All Lists]

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

[Monotone-devel] Re: Feature Request: enhanced .mtn-ignore

From: Steven E. Harris
Subject: [Monotone-devel] Re: Feature Request: enhanced .mtn-ignore
Date: Sat, 05 Aug 2006 11:44:54 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32)

Chad Walstrom <address@hidden> writes:

> function ignore_file(name)
>       if (string.find(name, "%.pyc$")) then return true end
>       if (string.find(name, "%.pyo$")) then return true end

Wow, that is really crying out for a macro, or a declarative
specification. It's just a giant short-circuiting OR form.¹


Steven E. Harris

reply via email to

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