summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-12-10 05:41:27 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-12 16:09:39 -0800
commit9b4b894601a484bec4132f0201c55a7a0d29eab3 (patch)
tree398a5b7e4751f2ff880f0821e92bab2f8eb9e623
parentcredential: use git_prompt instead of git_getpass (diff)
downloadtgif-9b4b894601a484bec4132f0201c55a7a0d29eab3.tar.xz
Makefile: linux has /dev/tty
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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c370ea57c..a09da748f7 100644
--- 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