Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Open Changes" with external difftool does not generate the correct command line. #3233

Open
schaneville opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working triage Needs to be looked at

Comments

@schaneville
Copy link

Description

Here is my configuration inside of %USERPROFILE%.gitconfig:

[diff]
    tool = bc4
[difftool "bc4"]
    cmd = \"C:\\Program Files\\Beyond Compare 4\\BComp.exe\" \"$LOCAL\" \"$REMOTE\" /lefttitle=\"Theirs\" /righttitle=\"Mine\"

Here is the command line that gets generated (sniffed with SysInternals procexp.exe):

"C:\Program Files\Beyond Compare 4\BComp.exe" C:\Users\schan\AppData\Local\Temp/git-blob-a13124/app.component.html src/Web.Angular/ClientApp/src/app/app.component.html "C:/Program Files/Git/lefttitle=Theirs" "C:/Program Files/Git/righttitle=Mine" /BCompWnd=$00150BF4

Notice that the 3rd parameter is messed up, it should start with "/lefttitle" ...

Thanks!
~Steve

GitLens Version

v14.9

VS Code Version

Version: 1.88.1 (user setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Git Version

git version 2.44.0.windows.1

Logs, Screenshots, Screen Captures, etc

No response

@schaneville schaneville added bug Something isn't working triage Needs to be looked at labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant