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

[PATCH 2/3] mergetool--lib: Add diffuse as a tool

From
Alexey Shumkin <alex.crezoff@gmail.com>
Date
Jan 24, 2013, 07:16 UTC
Message-ID
<1359011768-7665-2-git-send-email-Alex.Crezoff@gmail.com>
In-Reply-To
<1359011768-7665-1-git-send-email-Alex.Crezoff@gmail.com>
Signed-off-by: Alexey Shumkin <Alex.Crezoff@gmail.com>
---
 git-gui/lib/mergetool.tcl | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/git-gui/lib/mergetool.tcl b/git-gui/lib/mergetool.tcl
index 4fc1cab..837ce17 100644
--- a/git-gui/lib/mergetool.tcl
+++ b/git-gui/lib/mergetool.tcl
@@ -194,6 +194,15 @@ proc merge_resolve_tool2 {} {
 			set cmdline [list "$merge_tool_path" "$LOCAL" "$REMOTE" -mergeoutput="$MERGED"]
 		}
 	}
+	diffuse {
+		if {$base_stage ne {}} {
+			set cmdline [list "$merge_tool_path" \
+				"$LOCAL" "$MERGED" "$REMOTE" "$BASE"]
+		} else {
+			set cmdline [list "$merge_tool_path" \
+				"$LOCAL" "$MERGED" "$REMOTE"]
+		}
+	}
 	ecmerge {
 		if {$base_stage ne {}} {
 			set cmdline [list "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" --default --mode=merge3 --to="$MERGED"]
-- 
1.8.1.1.10.g9255f3f
Previous: Alexey ShumkinNext: Alexey Shumkin
Message 2 of 5 in “mergetool--lib: fix startup options for gvimdiff tool”
  1. 1/3 mergetool--lib: fix startup options for gvimdiff toolAlexey Shumkin, Jan 24, 2013
  2. 2/3 mergetool--lib: Add diffuse as a toolAlexey Shumkin, Jan 24, 2013
  3. 3/3 mergetool--lib: Add TortoiseMerge as a toolAlexey Shumkin, Jan 24, 2013
  4. David AguilarJan 25, 2013
  5. Alexey ShumkinJan 25, 2013

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.