Re: [PATCH] prompt: fix show upstream with svn and zsh
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- May 21, 2013, 23:36 UTC
- Message-ID
- <20130521233617.GG30969@goldbirke>
- In-Reply-To
- <CAMP44s1cbO-xzUAHR4THz4MPdqxY6SHG7uf_da_OM8YCDbTi+A@mail.gmail.com>
On Tue, May 21, 2013 at 06:04:35PM -0500, Felipe Contreras wrote:
Show 16 quoted lines
> On Tue, May 21, 2013 at 5:41 PM, SZEDER Gábor <szeder@ira.uka.de> wrote: > > > On Tue, May 21, 2013 at 10:54:27PM +0200, Thomas Gummerer 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[ > >> > >> This was introduced by 6d158cba (bash completion: Support "divergence > >> from upstream" messages in __git_ps1), when the script was for bash > >> only. Make it compatible with zsh. > > > > What is the actual cause of this problem/incompatibility and how/why do > > these changes fix it? > > I think the commit message makes that very clear.
If that were the case I wouldn't have asked in the first place.
Hth, Gábor