completion: fix PS1 display during an AM on detached HEAD
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2009 05:56:03 +0000 (22:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2009 07:01:28 +0000 (00:01 -0700)
commitd7107ca65f79c2d95bc327bee44c09073b4de631
treeb2ceeca83054c824d47b9d37f64f3665638b8231
parent94ad2437020038b022ce19b8b8b35f1cc86b16f6
completion: fix PS1 display during an AM on detached HEAD

This is a companion patch to previous 8763dbb (completion: fix PS1 display
during a merge on detached HEAD, 2009-05-16).  While rebasing or running am
on a detached HEAD, the code failed to set $b (branch description) that
enables the whole status display business.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash