]> git.ipfire.org Git - thirdparty/git.git/blame - mergetools/deltawalker
strbuf: use skip_prefix() in strbuf_addftime()
[thirdparty/git.git] / mergetools / deltawalker
CommitLineData
284a126c
TH
1diff_cmd () {
2 "$merge_tool_path" "$LOCAL" "$REMOTE" >/dev/null 2>&1
3}
4
980145f7
FR
5diff_cmd_help () {
6 echo "Use DeltaWalker (requires a graphical session)"
7}
8
284a126c
TH
9merge_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
21}
22
980145f7
FR
23merge_cmd_help () {
24 echo "Use DeltaWalker (requires a graphical session)"
25}
26
7c10605d 27translate_merge_tool_path () {
284a126c
TH
28 echo DeltaWalker
29}
7c10605d
DA
30
31exit_code_trustable () {
32 true
33}