Description
There are some restrictions to LVCompare that make calling it from GIT Extensions a daunting task:
To resolve issue two, I built a simple adapter executable that reinterprets the file paths, then forwards along the arguments to LVCompare. The result is easy right-click .VI diffing in GIT Extensions.
Dependencies
LabVIEW 2017 SP1 f1 Runtime - Included in the installer.
Setup
The included installer will place the lvcomparegit.exe in Program Files\National Instruments\LVCompare Git Adapter\.
As an alternative, place the included executable anywhere you would like.
I hope others find this tool useful when the same need arises.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
I should have known you would have already solved this problem for me... thanks Sean!
Great. It solved my pain on VI diff.
Thanks for this great tool. Would it be possible to add 2 improvements?
The last one is a current problem that we got while using Git Fork. Since the latest version of Fork doesn't rename the file anymore. LVCompare can't compare 2 files with the same filename.
It would solve this issue:
https://forums.ni.com/t5/WUELUG-W%C3%BCrzburg-LabVIEW-User/Set-up-Fork-for-GitLab/td-p/4192959
The attached screenshot shows both modifications.
Best Regards,
Stefan Lemmens