Make sure that git_getpass() never returns NULL
commit50254cf20deab5d62b86e320f6d3921e87b909f4
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 23 Jul 2010 15:40:44 +0000 (23 17:40 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 17 Sep 2010 09:34:12 +0000 (17 10:34 +0100)
tree3311d3753967ec7752f4e71eb63200a2a3bdc836
parent124f1facde600b4480f38c30bade5fc25632c62c
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