sha1_file: use strbuf_add() instead of strbuf_addf()
[git] / mergetools / ecmerge
1 diff_cmd () {
2         "$merge_tool_path" --default --mode=diff2 "$LOCAL" "$REMOTE"
3 }
4
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
14 }