Code

completion: Use consistent if [...] convention, not "test"
authorTed Pavlic <ted@tedpavlic.com>
Wed, 11 Feb 2009 18:03:24 +0000 (13:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Feb 2009 19:09:16 +0000 (11:09 -0800)
commitad244d256865c06804afffef32b753239a06119e
tree9a10636190452459e5fb4022398437911eff9254
parentfa26a401bed5967d6118ac430c5c5f4707c54386
completion: Use consistent if [...] convention, not "test"

The local coding convention in bash completion is to use [...] rather
than test. Additionally,

    if [...]; then

is preferred over

    if [...]
    then

and so matching "if [...]\nthen" were changed accordingly.

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