FEATURE REQ: make bzr ignore accept multiple arguments
Rob Browning
rlb at defaultvalue.org
Tue Sep 13 19:53:51 BST 2005
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
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
More information about the bazaar
mailing list