RE: Diffing binary files
From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Tue, 19 Apr 2011 06:41:33 +0000
>>> Would it be possible to call this script diff-binary.vbs, and use it
Good point. Hmm... What about making TMerge (optionally, controlled by a command line flag) immediately quit with a specific exit code when a binary file is encountered. (As opposed to showing the dialog that is the behavior today.) TortoiseProc could then notice this and start the script instead.
That way TMerge will have the first shot at diffing unknown files, and the script would be a fallback.
I guess this could even be extended to TortoiseIDiff, or any other script for that matter that is capable of detecting unexpected/undiffable files.
Hans-Emil
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.