Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jn/ancient-meld-support'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 14 Feb 2012 20:57:17 +0000
(12:57 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 14 Feb 2012 20:57:17 +0000
(12:57 -0800)
* jn/ancient-meld-support:
mergetools/meld: Use --help output to detect --output support
mergetools/meld
patch
|
blob
|
history
raw
(from parent 1:
63d37c3
)
diff --git
a/mergetools/meld
b/mergetools/meld
index eaa115ccb7a1154715c1d9dd9b7d4d360234aa01..cb672a55192cb44335aa2cbe1f10004bb26d86ff 100644
(file)
--- a/
mergetools/meld
+++ b/
mergetools/meld
@@
-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