FEATURE REQ: Make alias for --diff-options

Harald Meland harald.meland at usit.uio.no
Wed Sep 14 06:52:32 BST 2005


[Martin Pool]

> Another option is to make diff a special command where all unknown
> options are passed through to the underlying diff.

Wouldn't this cause trouble when bzr wants to appropriate a new option
of its own, which also happens to be a diff option (for some version
of diff(1))?

To avoid that problem, one could enumerate the particular diff options
that are passed through, like cvs does.

> We should also allow you to set preferred diff options in
> ~/.bazaar/bazaar.ini.  (Is that name OK with everyone?)

... and then be able to override that default either on the command
line or by a project-specific configuration file; Jari seems to imply
that wanting "-b" as a default option is common, and that wouldn't
work too well with Python (or Whitespace,
http://compsoc.dur.ac.uk/whitespace/index.php :-) programs.
-- 
Harald




More information about the bazaar mailing list