author | Andrew Sayers <andrew-git@pileofstuff.org> | |
Thu, 17 Jun 2010 21:32:16 +0000 (22:32 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 18 Jun 2010 16:15:52 +0000 (09:15 -0700) | ||
commit | 6c44b6406bc9093945aa030f33c06ecda47ba7f5 | |
tree | 0aa0f4afa1df44b2ae328f35206aa26f98ca64ac | tree | snapshot |
parent | 45a0ee116348d1b36756fe47d338713c06b918ad | commit | diff |
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>
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 | diff | blob | history |