author | Ted Pavlic <ted@tedpavlic.com> | |
Wed, 11 Feb 2009 18:03:26 +0000 (13:03 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Feb 2009 19:09:17 +0000 (11:09 -0800) | ||
commit | 5c9cc64a4a608ab0bbd5eb5c8e405bfe050be309 | |
tree | cdaefb022cd94498566ff311d8861b0c42be72bb | tree | snapshot |
parent | e5dd864adfeb8b0176b31a132e972d7f7beff32a | commit | diff |
completion: More fixes to prevent unbound variable errors
Several functions make use of "[-n ...]" and "[-z ...]". In many cases,
the variables being tested were declared with "local."
However, several __variables are not, and so they must be replaced with
their ${__-} equivalents.
Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Several functions make use of "[-n ...]" and "[-z ...]". In many cases,
the variables being tested were declared with "local."
However, several __variables are not, and so they must be replaced with
their ${__-} equivalents.
Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | diff | blob | history |