Code

Make sure that git_getpass() never returns NULL
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 29 Sep 2010 22:22:32 +0000 (23:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Sep 2010 19:22:02 +0000 (12:22 -0700)
commit8713feb16dd6a472828bbdcf914a1c8f5c6810a2
tree465aa54197d8f87734170e05e767fc20d7a9630c
parentdbda967684dfefd0ac3518f9805ccf9ded9af429
Make sure that git_getpass() never returns NULL

The result of git_getpass() is used without checking for NULL, so let's
just die() instead of returning NULL.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c