MinGW: Add a simple getpass()
commit0dbbbc1e26c9979e34031c09c641893123d18450
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 23 May 2009 08:04:50 +0000 (23 10:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 May 2009 08:54:45 +0000 (23 01:54 -0700)
tree4640176da8771b27fa2adb80206319233d1360eb
parent27e3219f1a78d2d7035565aa7ace882dbc2baa97
MinGW: Add a simple getpass()

We need getpass() to activate curl on MinGW.  Although the default
Makefile currently has 'NO_CURL = YesPlease', msysgit releases do
provide curl support, so getpass() is used.

[spr: - edited commit message.
      - squashed commit that provides getpass() declaration.]

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c
compat/mingw.h