Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _subversion: Fix syntax error in 44726/0001



---
Mikael, thanks for the report.  I didn't intend to use shortloops syntax there.

 Completion/Unix/Command/_subversion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 2c8085045..120f17642 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -35,7 +35,7 @@ _svn () {
 
   local _svn_help_takes_verbose
   if _cache_invalid svn-help-takes-verbose || ! _retrieve_cache svn-help-takes-verbose; then
-    if [[ $(_call_program svn-help-v svn help help) == *--verbose* ]]
+    [[ $(_call_program svn-help-v svn help help) == *--verbose* ]]
     _svn_help_takes_verbose=$(( ! $? ))
     _store_cache svn-help-takes-verbose _svn_help_takes_verbose
   fi



Messages sorted by: Reverse Date, Date, Thread, Author