gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.05k stars 1.35k forks source link

Use local difftool/mergetool when connected to remote ssh repo #1082

Open tapr00t opened 4 years ago

tapr00t commented 4 years ago

Issue Type: Feature Request

I'm using VS code on a windows local machine and connected to a remote linux machine. Both machines have git installed and my windows machine's git is setup to use beyond compare 4 as the difftool and mergetool. I have tested these to be working locally with a "git difftool" command.

In VS code, when I right click on a changed file and select "Open Changes (with difftool)" , nothing happens.

If I set logging to debug, I can see that its trying to run the difftool on the remote server, which is not desired in my case.

Can you add an option to allow the difftool to be run on the local machine?

Extension version: 10.2.2 VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z) OS version: Windows_NT x64 10.0.18363 Remote OS version: Linux x64 3.10.0-327.el7.x86_64

senter-logistics commented 4 years ago

+1

eamodio commented 4 years ago

I think this is a good idea -- mind sending a PR?

Satheeshkumar-Duraisamy commented 3 years ago

Awaiting for this feature.

gileez commented 2 years ago

+1 great feature!

johnpccd commented 2 years ago

+1

VVoidV commented 2 years ago

+1

ystreibel commented 1 year ago

+1

devdnn commented 1 year ago

Would love to have this feature