On Wed, May 22, 2013 at 2:40 AM, Thomas Gummerer <t.gumme...@gmail.com> wrote:
> Currently the __git_ps1 git prompt gives the following error with a
> repository converted by git-svn, when used with zsh:
> __git_ps1_show_upstream:19: bad pattern: svn_remote[
> __git_ps1_show_upstream:45: bad substitution
> To reproduce the problem, the __git_ps1_show_upstream function can be
> executed in a repository converted with git-svn. Both those errors are
> triggered by spaces after the '['.
> Zsh also doesn't support initializing an array with `local var=(...)`.
> This triggers the following error:
> __git_ps1_show_upstream:41: bad pattern: svn_upstream=(commit
> local -a
> instead to make is compatible.
> This was introduced by 6d158cba (bash completion: Support "divergence
> from upstream" messages in __git_ps1), when the script was for bash
> Signed-off-by: Thomas Gummerer <t.gumme...@gmail.com>
I think there's no need to be so verbose in the commit message, but
hey, that's just an opinion.
Acknowledged-by: Felipe Contreras <felipe.contre...@gmail.com>
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html