Add bare repository indicator for __git_ps1
authorMarius Storm-Olsen <git@storm-olsen.com>
Sat, 21 Feb 2009 14:48:43 +0000 (15:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Feb 2009 23:23:39 +0000 (15:23 -0800)
commitf50edca56c40cbfe48734eacd5d79416ba3649eb
treeb19ad8acf5e7dcec749fcb9afb90a8068f7e1384
parent5c9cc64a4a608ab0bbd5eb5c8e405bfe050be309
Add bare repository indicator for __git_ps1

Prefixes the branch name with "BARE:" if you're in a
bare repository.

Signed-off-by: Marius Storm-Olsen <git@storm-olsen.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash