From: Felipe Contreras Date: Sat, 07 Apr 2012 13:09:35 GMT Subject: Re: [PATCH v2] Fix git-completion.bash for use in zsh Message-ID: In-Reply-To: <1332327960-5208-1-git-send-email-dev@randomguy3.me.uk> On Wed, Mar 21, 2012 at 1:06 PM, Alex Merry wrote: >  __git_ps1_show_upstream () >  { >        local key value > -       local svn_remote=() svn_url_pattern count n > +       local svn_remote svn_url_pattern count n >        local upstream=git legacy="" verbose="" > +       svn_remote=() > >        # get some config options from git-config >        local output="$(git config -z --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null | tr '\0\n' '\n ')" > -- Actually, a more proper way to do this is 'local -a svn_remote'. Cheers. -- Felipe Contreras