Enable HAVE_DEV_TTY for Solaris
authorBen Walton <bwalton@artsci.utoronto.ca>
Tue, 7 Aug 2012 03:07:42 +0000 (23:07 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Aug 2012 05:12:43 +0000 (22:12 -0700)
Now that git_terminal_prompt can cleanly interact with /dev/tty on
Solaris, enable HAVE_DEV_TTY so that this code path is used for
credential reading instead of relying on the crippled getpass().

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 7c370ea57cf6e461559f46129e4b34da3f98a09f..9472ff768cf7e520c1c04da6e3036e22b025cd26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -909,6 +909,7 @@ ifeq ($(uname_S),SunOS)
        NO_MKSTEMPS = YesPlease
        NO_REGEX = YesPlease
        NO_FNMATCH_CASEFOLD = YesPlease
+       HAVE_DEV_TTY = YesPlease
        ifeq ($(uname_R),5.6)
                SOCKLEN_T = int
                NO_HSTRERROR = YesPlease