Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/mergetools/codecompare # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / mergetools / codecompare` 31 lines ยท 510 bytes Raw Blame History 1 diff_cmd () { 2 "$merge_tool_path" "$LOCAL" "$REMOTE" 3 } 4 5 diff_cmd_help () { 6 echo "Use Code Compare (requires a graphical session)" 7 } 8 9 merge_cmd () { 10 if $base_present 11 then 12 "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" -BF="$BASE" \ 13 -RF="$MERGED" 14 else 15 "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" \ 16 -RF="$MERGED" 17 fi 18 } 19 20 merge_cmd_help () { 21 echo "Use Code Compare (requires a graphical session)" 22 } 23 24 translate_merge_tool_path() { 25 if merge_mode 26 then 27 echo CodeMerge 28 else 29 echo CodeCompare 30 fi 31 }