Re: [PATCH v2] Fix git-completion.bash for use in zsh
On Wed, Mar 21, 2012 at 1:06 PM, Alex Merry <dev@randomguy3.me.uk> wrote:
Show 11 quoted lines
> __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