mergetools / ecmergeon commit setup.c: re-fix d95138e (setup: set env $GIT_WORK_TREE when .. (86d26f2)
   1diff_cmd () {
   2        "$merge_tool_path" --default --mode=diff2 "$LOCAL" "$REMOTE"
   3}
   4
   5merge_cmd () {
   6        touch "$BACKUP"
   7        if $base_present
   8        then
   9                "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" \
  10                        --default --mode=merge3 --to="$MERGED"
  11        else
  12                "$merge_tool_path" "$LOCAL" "$REMOTE" \
  13                        --default --mode=merge2 --to="$MERGED"
  14        fi
  15        check_unchanged
  16}