zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: [PATCH] _subversion: Fix syntax error in 44726/0001
Date: Thu, 10 Oct 2019 16:58:21 +0000	[thread overview]
Message-ID: <20191010165821.461-1-danielsh@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CAHYJk3Szq6838NLionHrGiRpAi4H-Jc5i-JBepC1YFbQwrc=xw@mail.gmail.com>

---
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

      reply	other threads:[~2019-10-10 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-31 20:19 _subversion is going to need to use 'help -v' Daniel Shahaf
2019-09-04  2:54 ` Daniel Shahaf
2019-10-10 16:29   ` Mikael Magnusson
2019-10-10 16:58     ` Daniel Shahaf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191010165821.461-1-danielsh@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).