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