Enhancement to also use the external diff tool for new and deleted files.

Aaron Bentley aaron at aaronbentley.com
Wed Sep 17 14:21:38 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Ingamells wrote:
> I suspect that it would be a thankless task trying to maintain a list of
> various diff tools and how to call them.

We do that with mail clients, and things seem to have settled down.

> Wouldn't it be more sense to
> add a new option to diff --using to control this? Something like
>     -diffstyle visual|stdout|tree|...

That's certainly a reasonable way to proceed.  Since --diffstyle
wouldn't make sense without --using, we can also consider using
prefixes, like: --using visual:meld.

> Where the default is "stdout" and is the current method and "visual"
> tries to give all changes it can to a visual diff tool (e.g. meld).

I'm not sure that the names you're suggesting make sense, because I
think there may be a lot of difference between visual tools.  E.g.
gvimdiff is single-file, while meld supports whole trees.  Especially, I
wonder how symlinks should be handled.  I presume that you don't want to
see anything on the console when you use a visual tool...

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI0QRi0F+nu1YWqI0RAq3+AJwLXkpb5TCywfHVL0ayROYtPChQ2wCcCNTS
Ef/XCyTwrz2bMHkigWecA1M=
=i1Yg
-----END PGP SIGNATURE-----



More information about the bazaar mailing list