setup: introduce the discover_git_directory() function
[git.git] / mergetools / ecmerge
blob6c5101c4f729d49c544436e9262ca75e4ce6cddd
1 diff_cmd () {
2         "$merge_tool_path" --default --mode=diff2 "$LOCAL" "$REMOTE"
5 merge_cmd () {
6         if $base_present
7         then
8                 "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" \
9                         --default --mode=merge3 --to="$MERGED"
10         else
11                 "$merge_tool_path" "$LOCAL" "$REMOTE" \
12                         --default --mode=merge2 --to="$MERGED"
13         fi