Skip to content

Commit

Permalink
Merge branch 'jn/ancient-meld-support' into maint
Browse files Browse the repository at this point in the history
* jn/ancient-meld-support:
  mergetools/meld: Use --help output to detect --output support
  • Loading branch information
Junio C Hamano committed Feb 27, 2012
2 parents 4eed30a + 759a904 commit bdf26fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mergetools/meld
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ check_meld_for_output_version () {
meld_path="$(git config mergetool.meld.path)"
meld_path="${meld_path:-meld}"

if "$meld_path" --output /dev/null --help >/dev/null 2>&1
if "$meld_path" --help 2>&1 | grep -e --output >/dev/null
then
meld_has_output_option=true
else
Expand Down

0 comments on commit bdf26fc

Please sign in to comment.