Merge branch 'ma/test-libcurl-prereq' into maint-2.46
[git/gitster.git] / mergetools / deltawalker
blobefae4c285ca9554d4c58ff6feb7e5ca9d2a3ff2b
1 diff_cmd () {
2         "$merge_tool_path" "$LOCAL" "$REMOTE" >/dev/null 2>&1
5 diff_cmd_help () {
6         echo "Use DeltaWalker (requires a graphical session)"
9 merge_cmd () {
10         # Adding $(pwd)/ in front of $MERGED should not be necessary.
11         # However without it, DeltaWalker (at least v1.9.8 on Windows)
12         # crashes with a JRE exception.  The DeltaWalker user manual,
13         # shows $(pwd)/ whenever the '-merged' options is given.
14         # Adding it here seems to work around the problem.
15         if $base_present
16         then
17                 "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" -merged="$(pwd)/$MERGED"
18         else
19                 "$merge_tool_path" "$LOCAL" "$REMOTE" -merged="$(pwd)/$MERGED"
20         fi >/dev/null 2>&1
23 merge_cmd_help () {
24         echo "Use DeltaWalker (requires a graphical session)"
27 translate_merge_tool_path () {
28         echo DeltaWalker
31 exit_code_trustable () {
32         true