Code

Makefile: linux has /dev/tty
authorJeff King <peff@peff.net>
Sat, 10 Dec 2011 10:41:27 +0000 (05:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Dec 2011 00:09:39 +0000 (16:09 -0800)
Therefore we can turn on our custom prompt function instead
of relying on getpass.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 7c370ea57cf6e461559f46129e4b34da3f98a09f..a09da748f753b12d9ef3d8a49ffb0e6603a7c10f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -837,6 +837,7 @@ ifeq ($(uname_S),Linux)
        NO_STRLCPY = YesPlease
        NO_MKSTEMPS = YesPlease
        HAVE_PATHS_H = YesPlease
+       HAVE_DEV_TTY = YesPlease
 endif
 ifeq ($(uname_S),GNU/kFreeBSD)
        NO_STRLCPY = YesPlease