diff_cmd () { "$merge_tool_path" "$LOCAL" "$REMOTE" } merge_cmd () { if test -z "${meld_has_output_option:+set}" then check_meld_for_output_version fi if test "$meld_has_output_option" = true then "$merge_tool_path" --output="$MERGED" \ "$LOCAL" "$BASE" "$REMOTE" else "$merge_tool_path" "$LOCAL" "$MERGED" "$REMOTE" fi } # Check whether we should use 'meld --output <file>' check_meld_for_output_version () { meld_path="$(git config mergetool.meld.path)" meld_path="${meld_path:-meld}" if meld_has_output_option=$(git config --bool mergetool.meld.hasOutput) then : use configured value elif "$meld_path" --help 2>&1 | grep -e '--output=' -e '\[OPTION\.\.\.\]' >/dev/null then : old ones mention --output and new ones just say OPTION... meld_has_output_option=true else meld_has_output_option=false fi }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
araxis | File | 358 B | 0644 |
|
bc | File | 367 B | 0644 |
|
bc3 | File | 24 B | 0644 |
|
codecompare | File | 353 B | 0644 |
|
deltawalker | File | 663 B | 0644 |
|
diffmerge | File | 309 B | 0644 |
|
diffuse | File | 248 B | 0644 |
|
ecmerge | File | 306 B | 0644 |
|
emerge | File | 438 B | 0644 |
|
examdiff | File | 336 B | 0644 |
|
gvimdiff | File | 29 B | 0644 |
|
gvimdiff2 | File | 29 B | 0644 |
|
gvimdiff3 | File | 29 B | 0644 |
|
kdiff3 | File | 522 B | 0644 |
|
kompare | File | 117 B | 0644 |
|
meld | File | 843 B | 0644 |
|
opendiff | File | 267 B | 0644 |
|
p4merge | File | 617 B | 0644 |
|
tkdiff | File | 258 B | 0644 |
|
tortoisemerge | File | 602 B | 0644 |
|
vimdiff | File | 890 B | 0644 |
|
vimdiff2 | File | 29 B | 0644 |
|
vimdiff3 | File | 29 B | 0644 |
|
winmerge | File | 361 B | 0644 |
|
xxdiff | File | 584 B | 0644 |
|