difftool sends malformed path to exernal tool on Windows
- From
- Paul Lotz <plotz@lsst.org>
- Date
- Feb 17, 2014, 22:14 UTC
- Message-ID
- <011301cf2c2d$90442810$b0cc7830$@lsst.org>
From the Git Bash command line, I enter $ git difftool
and type y when the file I want to difference appears. Git correctly calls the external diff tool (LVCompare.exe), but the path for the remote file Git passes to that tool is malformed (e.g., C:\/Users/Paul/AppData/Local/Temp/QCpqLa_calcLoadCellExcitation.vi). Obviously the \/ (backslash forwardslash) combination is incorrect.
For the record, I have successfully made calls to LVCompare.exe manually from a Windows command prompt directly (without Git).
The relevant portion of the .gitconfig file is: [diff] tool = "LVCompare" [difftool "LVCompare"] cmd = 'C:/Program Files (x86)/National Instruments/Shared/LabVIEW Compare/LVCompare.exe' \"$LOCAL\" \"$REMOTE\"
For the record, the operating system is Windows 8.1.
Paul