Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH] bash: display git prompt in case of merge conflict during rebase

From: SZEDER Gábor <hidden>
Date: 2016-06-15 22:46:52

On Thu, May 28, 2009 at 06:17:21PM +0200, SZEDER Gábor wrote:
Since e5dd864a (completion: Better __git_ps1 support when not in
working directory, 2009-02-11) the git prompt becomes empty, if we hit
a merge conflict during a rebase.

e5dd864a added an if statement at the end of __git_ps1 to only display
anything in the prompt, if the branch name is not empty.  This caused
the empty prompt in the "merge conflict during rebase" case, because
in this case we display neither the branch name nor the abbreviated
SHA1, the ongoing rebase is identified.
       ^- although...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help