Skip to content

Commit 9b4b894

Browse files
peffgitster
authored andcommitted
Makefile: linux has /dev/tty
Therefore we can turn on our custom prompt function instead of relying on getpass. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ce77aa4 commit 9b4b894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ ifeq ($(uname_S),Linux)
837837
NO_STRLCPY = YesPlease
838838
NO_MKSTEMPS = YesPlease
839839
HAVE_PATHS_H = YesPlease
840+
HAVE_DEV_TTY = YesPlease
840841
endif
841842
ifeq ($(uname_S),GNU/kFreeBSD)
842843
NO_STRLCPY = YesPlease

0 commit comments

Comments
 (0)