]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rj/cygwin-has-dev-tty' into maint-2.46
authorJunio C Hamano <gitster@pobox.com>
Mon, 23 Sep 2024 17:32:59 +0000 (10:32 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Sep 2024 17:32:59 +0000 (10:32 -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 85d63821ec95f65d78a726bae70abcb8c3845ab8,96e2ea8ec1c6ab2208101c107f52cc47bec0c303..bbf7744ddd5d0f4a4ad96158d677475e5a23c5c7
@@@ -246,9 -232,10 +246,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