[RFC] generalized diff plugin - option name?

Michael Ellerman michael at ellerman.id.au
Thu Apr 27 05:24:43 BST 2006


On 4/27/06, Stephen Ward <sward.dev at verizon.net> wrote:
> Hi,
>
> I'm looking to expand the 'bzr kompare' plugin into a general-purpose diff
> tools plugin which will extend the 'bzr diff' command with a new option (to
> specify the external diff tool).  Here are the option names I'm currently
> considering.  If you have a strong preference for/against any of these, or
> you think you have a better suggestion, please let me know.
>
>   --using
>   --with
>   --tool
>   --diff-tool
>
> as in:
>
>   diff --using meld -r 95..98 FILE
>
> My own preference is for '--using', but I don't feel very strongly about it,
> since I only expect to type the option once (in the ALIASES section of
> bazaar.conf).

--using seems reasonable to me. The only other thing I can think it
could mean in the context of diff would be the algorithm to use, eg.

diff --using patience-diff -r 95..98 FILE

But I don't think anyone's about to code that up, so I'd say go ahead.

cheers




More information about the bazaar mailing list