[PATCH] Ignore more vim swapfiles
mbp at sourcefrog.net
Wed May 25 10:22:47 BST 2005
On Mon, 2005-05-23 at 12:33 -0500, John A Meinel wrote:
> Aaron Bentley wrote:
> > In addition to .*.swp files, Vim will occasionally generate .*.swo or
> > .*.swn files. This patch ignores files with those extensions also.
> > Aaron
> At one point, there was a discussion that bzrignore would be capable of
> handling zsh style globs so you could write '.*sw[pon]', which I assume
> is true since we ignore '.*py[oc]'. I would recommend making the change
> that way instead of adding more entries.
Those patterns ("character classes"?) work in all shells and globs, not
However, I hesitate to add too many 3-letter extension patterns that
might ever match something that's not ignored. I suppose since it
starts with a dot that would be unlikely...
More information about the bazaar