[patch] improved ignore pattern matching (#57637)

Kent Gibson warthog618 at gmail.com
Mon Nov 27 13:24:52 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Jan Hudec wrote:
>
> Actually the former does not. Because the two slashes in '/**/'
> will not match a single '/' (while it does in zsh style, because
> there it is actually '**/', that can match empty string). For
> extensions (the more common case), the later can be used instead.
> But if you wanted to ignore eg. CVS dirs, under your proposal you
> have to say: foo/CVS foo/**/CVS while under zsh style it is just:
> foo/**/CVS
>
How about the pattern 'foo**/CVS' - it will match 'foo/CVS' and
'foo/bar/CVS', but should it match 'fooCVS'?

Cheers,
Kent.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFaucjgoxTFTi1P8QRAlY+AJ0dnDY+tJcm4CmWhO+QIQg0qfieLgCfexvE
6jnq4yrJtjcQI/H5Xkf+Ejk=
=KLUz
-----END PGP SIGNATURE-----




More information about the bazaar mailing list