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