FEATURE REQ: make bzr ignore accept multiple arguments
James Blackwell
jblack at merconline.com
Wed Sep 14 11:54:26 BST 2005
On Tue, Sep 13, 2005 at 11:53:51AM -0700, Rob Browning wrote:
> Aaron Bentley <aaron.bentley at utoronto.ca> writes:
>
> > The reason for that was the way glob expansion works in most shells.
> > If you had, say foo.tmp and bar.tmp in your directory, then your shell
> > would expand *.tmp to foo.tmp bar.tmp, and ignore only those two files.
> > So one easy way of detecting an accidental expansion is to refuse more
> > than one argument.
> >
> > Yes, we realize that you can quote '*.tmp'-- what we were trying to
> > avoid was silently doing the wrong thing.
> >
> > BTW, *.tmp, *.bak and *.orig are already in the default ignore list.
>
> Another option might be to just provide some feedback by default:
>
> $ bzr ignore *.tmp
> Ignore pattern added: a.tmp
> Ignore pattern added: b.tmp
Neat thought, but I think people would be tricked by this as well. ("Oh,
great, those are all *.tmp.")
Specifically ignoring a.tmp
Specifically ignoring b.tmp
How's that strike you?
> and also provide a --quiet argument.
>
> --
> Rob Browning
> rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
> GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
--
James Blackwell | Try out the blog planet for revision control
Tell someone a joke! | at http://planet.revisioncontrol.net
----------------------------------------------------------------------
GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D 247A 8A55 DA73 0635 7400
More information about the bazaar
mailing list