t7400: encapsulate setup code in test_expect_success
[git.git] / mergetools / emerge
blobd1ce513ff5d3b3db14dd1270d2181099e1134c2c
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
20 translate_merge_tool_path() {
21         echo emacs
24 exit_code_trustable () {
25         true