On Mon, May 16, 2011 at 3:22 AM, Tomek Kott <[email protected]> wrote:

> Hi,
>
> Is there any possibility of using different graphical diff programs for
> different types of files automatically? Specifically, tend to look at
> differences in labview files (binary files for which there is a diff program
> in meta-diff) but also text files (for which I generally prefer something
> like winmerge). I would love to be able to just use "fossil gdiff" without
> having to set the setting every time.
>

Fossil does not keep track of the "type" of a file.  So it would have no way
of knowing which diff-program to invoke.

Why don't you write a wrapper for gdiff that looks at it file, figure out
their "type" and then invokes whichever diff program seems appropriate.
Then use "fossil setting" to get gdiff to invoke your wrapper.


>
> Thanks,
>
> Tomek
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to