2011-08-18 09:23:46 +02:00
|
|
|
diff_cmd () {
|
|
|
|
"$merge_tool_path" \
|
|
|
|
-R 'Accel.Search: "Ctrl+F"' \
|
2016-12-10 03:14:21 +01:00
|
|
|
-R 'Accel.SearchForward: "Ctrl+G"' \
|
2011-08-18 09:23:46 +02:00
|
|
|
"$LOCAL" "$REMOTE"
|
|
|
|
}
|
|
|
|
|
|
|
|
merge_cmd () {
|
|
|
|
if $base_present
|
|
|
|
then
|
|
|
|
"$merge_tool_path" -X --show-merged-pane \
|
2016-12-10 03:14:21 +01:00
|
|
|
-R 'Accel.SaveAsMerged: "Ctrl+S"' \
|
2011-08-18 09:23:46 +02:00
|
|
|
-R 'Accel.Search: "Ctrl+F"' \
|
2016-12-10 03:14:21 +01:00
|
|
|
-R 'Accel.SearchForward: "Ctrl+G"' \
|
2011-08-18 09:23:46 +02:00
|
|
|
--merged-file "$MERGED" "$LOCAL" "$BASE" "$REMOTE"
|
|
|
|
else
|
|
|
|
"$merge_tool_path" -X $extra \
|
2016-12-10 03:14:21 +01:00
|
|
|
-R 'Accel.SaveAsMerged: "Ctrl+S"' \
|
2011-08-18 09:23:46 +02:00
|
|
|
-R 'Accel.Search: "Ctrl+F"' \
|
2016-12-10 03:14:21 +01:00
|
|
|
-R 'Accel.SearchForward: "Ctrl+G"' \
|
2011-08-18 09:23:46 +02:00
|
|
|
--merged-file "$MERGED" "$LOCAL" "$REMOTE"
|
|
|
|
fi
|
|
|
|
}
|