diff_cmd () { "$merge_tool_path" "$LOCAL" "$REMOTE" } merge_cmd () { if test -z "${meld_has_output_option:+set}" then check_meld_for_output_version fi touch "$BACKUP" 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_unchanged } # Check whether 'meld --output <file>' is supported check_meld_for_output_version () { meld_path="$(git config mergetool.meld.path)" meld_path="${meld_path:-meld}" if "$meld_path" --help 2>&1 | grep -e --output >/dev/null then meld_has_output_option=true else meld_has_output_option=false fi }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
araxis | File | 392 B | 0644 |
|
bc3 | File | 401 B | 0644 |
|
codecompare | File | 387 B | 0644 |
|
deltawalker | File | 628 B | 0644 |
|
diffuse | File | 282 B | 0644 |
|
ecmerge | File | 340 B | 0644 |
|
emerge | File | 415 B | 0644 |
|
gvimdiff | File | 29 B | 0644 |
|
gvimdiff2 | File | 29 B | 0644 |
|
kdiff3 | File | 499 B | 0644 |
|
kompare | File | 83 B | 0644 |
|
meld | File | 680 B | 0644 |
|
opendiff | File | 301 B | 0644 |
|
tkdiff | File | 224 B | 0644 |
|
tortoisemerge | File | 638 B | 0644 |
|
vimdiff | File | 625 B | 0644 |
|
vimdiff2 | File | 29 B | 0644 |
|
xxdiff | File | 618 B | 0644 |
|