Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Problem using Beyond Compare for diffs on paired files

I'm trying Sourcetree with some Git repositories for Visual FoxPro (VFP) applications. I've set up Beyond Compare as the diff tool.

VFP uses DBFs (tables) with special extensions to store certain kinds of source code, and the resulting files are paired. For example, a form is stored as an SCX/SCT pair.

I have a Beyond Compare extension installed that allows the tool to work with these paired files. When I was previously using Mercurial with Hg Workbench, if I selected both files of the pair, I was able to diff via Beyond Compare.

I'm looking for a way to tell Sourcetree to do the same thing. That is, if I select two files that Beyond Compare recognizes as paired, it should use the extension to open the pair and do the diff. Is that possible?

1 answer

1 accepted

0 votes
Answer accepted

I've now built a custom Diff tool that grabs the filenames from SourceTree and does what's needed to pass the right info to Beyond Compare for these paired files. Happy to share if anyone wants to try it out and give me feedback.

I would like to see your fix.

It's a VFP EXE. Send me an email address and I'll give you a link to download and some instructions. You can send to me at tamar at

Hi Tamar,

I installed Beyond Compare on a new computer and couldn't figure out why VFP comparison was not working the same as my old pc. Then I remembered that someone in my office found an add-on called VFP2Text a few years ago. I am curious if your solution is similar.

BTW, my curiosity stems from the fact that you are an esteemed VFP guru and your solution may have more meat to it! :) In any case, it is an opportunity to thank you for all your years of contributing to the Fox community.



My solution builds on VFP2Text.


I recently began working with a firm that  needs to  enforce source control. I would like to  see your  solution on this if you are still sharing

Happy to share. Send me an email address and I'll share the relevant Dropbox folder with you. You can send to me at tamar at

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events