[patch] improved ignore pattern matching (#57637)

Kent Gibson warthog618 at gmail.com
Tue Nov 28 17:56:58 GMT 2006


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

Attached is the bundle of my latest patch.

Notable changes:
  - made matcher more fnmatch compatible - '*' now matches leading '.'.
  - Support '**' pattern as per zsh (only works as a whole path
component else behaves as per '*')


My branch with these changes is available at
https://launchpad.net/people/warthog618/+branch/bzr/lp57637

There is also a revision in that branch that supports case-insensitive
matches on case-insensitive platforms (in r2137), but I reverted it in
response to Jan's recent email (in r2139 and r2140).  Take your pick.

I'm thinking the ignore patterns probably deserve a help topic of
their own, but I'm more interested in getting the core code out there
at the moment.  Hopefully the ignore help is sufficient in the meantime.

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

iD8DBQFFbHhpgoxTFTi1P8QRArbvAJ4+akGhRcjBdi/oY8Re7asfq8/6vgCdFnNc
tEhemirUIAqHVHcmj0ozw5I=
=Jepq
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lp57637_2.patch
Type: text/x-patch
Size: 104366 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061129/abdebec2/attachment.bin 


More information about the bazaar mailing list