git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] mergetool: add win32 path translation for diffmerge

From
Bert Huijben via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 29, 2021, 11:39 UTC
Message-ID
<pull.1014.git.git.1619696399147.gitgitgadget@gmail.com>
From: Bert Huijben <bert@vmoo.com>

Use the infrastructure added for finding winmerge to also automatically find DiffMerge,

Signed-off-by: Bert Huijben <bert@vmoo.com>
---
    mergetool: Add win32 path translation for DiffMerge
    
    Re-use the path translation added for winmerge to automatically find
    SouceGear DiffMerge on Windows.
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1014%2Frhuijben%2Ffix%2Fdiffmerge-path-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1014/rhuijben/fix/diffmerge-path-v1
Pull-Request: https://github.com/git/git/pull/1014
 mergetools/diffmerge | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/mergetools/diffmerge b/mergetools/diffmerge
index 9b6355b98a71..458ed9a89718 100644
--- a/mergetools/diffmerge
+++ b/mergetools/diffmerge
@@ -16,3 +16,7 @@ merge_cmd () {
 exit_code_trustable () {
 	true
 }
+
+translate_merge_tool_path() {
+	mergetool_find_win32_cmd "sgdm.exe" "SourceGear/Common/DiffMerge"
+}

base-commit: b0c09ab8796fb736efa432b8e817334f3e5ee75a
-- 
gitgitgadget
Next: Junio C Hamano
Message 1 of 2 in “mergetool: add win32 path translation for diffmerge”
  1. mergetool: add win32 path translation for diffmergeBert Huijben via GitGitGadget, Apr 29, 2021
  2. Junio C HamanoMay 3, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.