]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rj/cygwin-has-dev-tty'
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:44 +0000 (15:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:44 +0000 (15:27 -0700)
Cygwin does have /dev/tty support that is needed by things like
single-key input mode.

* rj/cygwin-has-dev-tty:
  config.mak.uname: add HAVE_DEV_TTY to cygwin config section

1  2 
config.mak.uname

index 904bcf3598714032dfa0ff1c2f130891e581ddcb,96e2ea8ec1c6ab2208101c107f52cc47bec0c303..d5112168a4cbfda2db851c44974ecd7d3b3ec0cd
@@@ -245,9 -232,10 +245,10 @@@ ifeq ($(uname_O),Cygwin
                # On some boxes NO_MMAP is needed, and not so elsewhere.
                # Try commenting this out if you suspect MMAP is more efficient
                NO_MMAP = YesPlease
 -      else
 +        else
                NO_REGEX = UnfortunatelyYes
 -      endif
 +        endif
+       HAVE_DEV_TTY = YesPlease
        HAVE_ALLOCA_H = YesPlease
        NEEDS_LIBICONV = YesPlease
        NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes