New and Improved LV Compare Script

Setting Up LVCompare just got even better. Now you get the TestStand sequence compare tool as well.

New and Improved LV Compare Script

One of the great things about Open Source is that it allows others to improve your creations. It's always an amazing thing when that happens. Previously I have written about The Absolute Easiest Way to Setup LVCompare and LVMerge. Well it just got better thanks to Thomas Orr. Thomas sent me an e-mail mentioning that he had updated the scripts to include diffing and merging Teststand sequences. So I updated the repository to include those as well.

Now, running the following command (same as before) will get you not just LVCompare and LVMerge but also the Teststand tools for comparing and merging Teststand sequences.

cd && git clone https://gitlab.com/sas-blog/LVCompare-Merge-Setup.git && cd LVCompare-Merge-Setup && ./setupLVTools.sh

If you have run that script in the past, you will likely get an error saying that the repository already exists. In that case, simply do the following.

cd ~/LVCompare-Merge-Setup && git pull && ./setupLVTools.sh

Gitattributes

On the original post, Jonathan Graesser suggested adding a default gitattributes file, so I added that as well. The setup script will create a default .gitattributes file if you don't have one. If you already have a default .gitattributes file, then the script just prompts you and says "Hey, you may want to add these entries". In theory, those entries should allow for multiple different 3rd party difftools with the selection depending on the file extension. In practice, I couldn't quite get it to work. Maybe you'll have better luck than I did. Or maybe there's a bug and you'll be able to spot it and help me fix it.