aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Walton <bwalton@artsci.utoronto.ca>2012-08-06 23:07:42 -0400
committerJunio C Hamano <gitster@pobox.com>2012-08-06 22:12:43 -0700
commit436783c95a59cca00a7cca1219666bb0af67cb81 (patch)
tree8eca6eaebb50b88cd2f5e4bfbbefe3641b6c2746
parent67ba123fd1fcb9a7699ae85f05f1229513322c1c (diff)
downloadgit-436783c95a59cca00a7cca1219666bb0af67cb81.tar.gz
git-436783c95a59cca00a7cca1219666bb0af67cb81.tar.xz
Enable HAVE_DEV_TTY for Solaris
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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c370ea57..9472ff768 100644
--- 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