1. Stefan Saasen
  2. git

Commits

Junio C Hamano  committed bdf26fc Merge

Merge branch 'jn/ancient-meld-support' into maint

* jn/ancient-meld-support:
mergetools/meld: Use --help output to detect --output support

  • Participants
  • Parent commits 4eed30a, 759a904
  • Branches master

Comments (0)

Files changed (1)

File mergetools/meld

View file
  • Ignore whitespace
 	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