shell-prompt: clean up nested if-then
commit31e6a4e6131ae2b7afd6bd0ba7919bf246e6c474
authorMartin Erik Werner <martinerikwerner@gmail.com>
Mon, 18 Feb 2013 22:59:03 +0000 (18 23:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Feb 2013 23:33:31 +0000 (18 15:33 -0800)
tree050dde0c13fb64edf49b7aa09be3f90a8cb95628
parent4cb8a83bb852010de8dc0887a54204a581536866
shell-prompt: clean up nested if-then

Minor clean up of if-then nesting in checks for environment variables
and config options. No functional changes.

Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh