bash-completion: Fix __git_ps1 to work with "set -u"
commit6c44b6406bc9093945aa030f33c06ecda47ba7f5
authorAndrew Sayers <andrew-git@pileofstuff.org>
Thu, 17 Jun 2010 21:32:16 +0000 (17 22:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jun 2010 16:15:52 +0000 (18 09:15 -0700)
tree0aa0f4afa1df44b2ae328f35206aa26f98ca64ac
parent45a0ee116348d1b36756fe47d338713c06b918ad
bash-completion: Fix __git_ps1 to work with "set -u"

Define several variables in __git_ps1 to avoid errors under "set -u" semantics.

__git_ps1 seems to have been missed when the rest of the file was fixed in
25a31f8.

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