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

DiffMerge should be sgdm.exe #4049

Closed
vvnurmi opened this issue Oct 9, 2017 · 1 comment
Closed

DiffMerge should be sgdm.exe #4049

vvnurmi opened this issue Oct 9, 2017 · 1 comment

Comments

@vvnurmi
Copy link

vvnurmi commented Oct 9, 2017

I have the latest 64-bit DiffMerge (4.2.0) installed and I'm trying to configure Git Extensions 2.50.02 to use it as the merge tool. As I choose DiffMerge as "Mergetool" in the "Settings - Git Config" dialog, I expect Git Extensions to fill in the "Path to mergetool" but it doesn't happen. When I click on "Browse" and browse to "C:\Program Files\SourceGear\Common\DiffMerge" which is the default install location of DiffMerge and where I have sgdm.exe, I expect to see the executable but can't because Git Extension's file filter is fixed to DiffMerge.exe. I can work around this by typing in "sgdm.exe" in the file selection dialog.

All in all, setting up DiffMerge is much harder than it needs to be.

There already was issue #2454 about this but looks like it was resolved incorrectly (36d116d). I believe that

exeName = "sgdm.exe";

is still missing from the fix to be complete.

Note: DiffMerge's executable changed from DiffMerge.exe to sgdm.exe in release 3.3.1 in July 2011: https://sourcegear.com/diffmerge/webhelp/sec__release__3_3_1.html

@RussKie
Copy link
Member

RussKie commented Oct 9, 2017

As a workaround you could specify it manually

for diff:

return "\"" + exeFile + "\" \"$LOCAL\" \"$REMOTE\"";

for merge:

return "\"" + exeFile + "\" /m /r=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"";

gerhardol added a commit to gerhardol/gitextensions that referenced this issue Oct 29, 2017
@RussKie RussKie added this to the 2.51.RC1 milestone Jan 3, 2018
@RussKie RussKie closed this as completed Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants