fast-import: forbid escaped NUL in paths
[git/gitster.git] / mergetools / emerge
blobfc6892cc95ed1ec480e06959bf7248f45d23371e
1 diff_cmd () {
2         "$merge_tool_path" -f emerge-files-command "$LOCAL" "$REMOTE"
5 diff_cmd_help () {
6         echo "Use Emacs' Emerge"
9 merge_cmd () {
10         if $base_present
11         then
12                 "$merge_tool_path" \
13                         -f emerge-files-with-ancestor-command \
14                         "$LOCAL" "$REMOTE" "$BASE" \
15                         "$(basename "$MERGED")"
16         else
17                 "$merge_tool_path" \
18                         -f emerge-files-command \
19                         "$LOCAL" "$REMOTE" \
20                         "$(basename "$MERGED")"
21         fi
24 merge_cmd_help () {
25         echo "Use Emacs' Emerge"
28 translate_merge_tool_path() {
29         echo emacs
32 exit_code_trustable () {
33         true