Skip to content

Commit bdf26fc

Browse files
committed
Merge branch 'jn/ancient-meld-support' into maint
* jn/ancient-meld-support: mergetools/meld: Use --help output to detect --output support
2 parents 4eed30a + 759a904 commit bdf26fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mergetools/meld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ check_meld_for_output_version () {
2323
meld_path="$(git config mergetool.meld.path)"
2424
meld_path="${meld_path:-meld}"
2525

26-
if "$meld_path" --output /dev/null --help >/dev/null 2>&1
26+
if "$meld_path" --help 2>&1 | grep -e --output >/dev/null
2727
then
2828
meld_has_output_option=true
2929
else

0 commit comments

Comments
 (0)