use skip_prefix to avoid repeated calculations
[git.git] / mergetools / emerge
blobf96d9e550a138d395ccb23c9496111630d2de594
1 diff_cmd () {
2         "$merge_tool_path" -f emerge-files-command "$LOCAL" "$REMOTE"
5 merge_cmd () {
6         if $base_present
7         then
8                 "$merge_tool_path" \
9                         -f emerge-files-with-ancestor-command \
10                         "$LOCAL" "$REMOTE" "$BASE" \
11                         "$(basename "$MERGED")"
12         else
13                 "$merge_tool_path" \
14                         -f emerge-files-command \
15                         "$LOCAL" "$REMOTE" \
16                         "$(basename "$MERGED")"
17         fi
18         status=$?
21 translate_merge_tool_path() {
22         echo emacs