[patch] improved ignore pattern matching (#57637)
Jan Hudec
bulb at ucw.cz
Tue Nov 28 17:12:51 GMT 2006
On Tue, Nov 28, 2006 at 12:40:16PM +0100, Vincent Ladeuil wrote:
> >>>>> "Kent" == Kent Gibson <warthog618 at gmail.com> writes:
> Kent> Is this true? If so I'll need to set the IGNORECASE
> Kent> flag for case-insensitive systems. Is there a simple
> Kent> way to tell that a system is case-insensitive?
>
> As seen above, it's more complicated than is seems...
>
> Sorry to complicate the matter further instead of proposing a
> solution, but I thought it was worth mentioning...
Well, it's documented this way, because the fnmatch module does it. That
module does not try to guess whether the filesystem is case-sensitive,
but rather tries to behave as native shell would.
However I think that when changing to different matcher, I think the
documentation should change rather than the matcher. IMHO the ignore (or
any other we may introduce) patterns should behave the same way on all
systems.
--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <bulb at ucw.cz>
More information about the bazaar
mailing list