Make sure that git_getpass() never returns NULL
commitbfd9f9f9fc6d61cf02062863677aa29a099e510b
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 23 Jul 2010 15:40:44 +0000 (23 17:40 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 11 Aug 2010 13:47:27 +0000 (11 15:47 +0200)
treec739d2244e9900b44860174231f4a92d799f1903
parent7ee779d156ebc3302db44afdad068dcc4d14c379
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>
connect.c