public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* single key stroke `git add -p` bug 
@ 2022-08-25 20:07 trashyankes
  0 siblings, 0 replies; 3+ messages in thread
From: trashyankes @ 2022-08-25 20:07 UTC (permalink / raw)
  To: adam, cygwin

Confirmed.  I'm not sure what's going wrong here: as I understand it,
this function depends on the Term::ReadKey Perl module, provided by the
Cygwin perl-TermReadKey package, but that package is correctly listed as
both a buildtime and runtime dependency for the git package.

I'll add to my queue to do some more debugging, but I'm not expecting to
have time to do any serious investigation here for a while.  Obviously
if anyone else is able to identify the problem, I'm very happy to
consider patches!

Adam
(Cygwin Git maintainer)   Thanks for looking on this

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: single key stroke `git add -p` bug
  2022-08-24 23:17 trashyankes
@ 2022-08-25 10:34 ` Adam Dinwoodie
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Dinwoodie @ 2022-08-25 10:34 UTC (permalink / raw)
  To: cygwin

On Thu, Aug 25, 2022 at 01:17:28AM +0200, trashyankes wrote:
> Hello   I update recently all cygwin packages and after that `git add
> -p` stop working correctly.  (previous update I did around 2 month
> ago)  I use mintty on Windows 10 x64, and have set `git config
> --global interactive.singlekey true` when I run this command whole
> terminal freeze and show message from git:  ```  warning: reading
> single keystrokes not supported on this platform; reading line instead
> ```  mintty stop accepting any input even `Ctrl-C`.   I tried to
> revert mintty and git to older version but every one available have
> same behavior.  For now disabling `singlekey` make this git operation
> work again but this is big lose in productivity.

Confirmed.  I'm not sure what's going wrong here: as I understand it,
this function depends on the Term::ReadKey Perl module, provided by the
Cygwin perl-TermReadKey package, but that package is correctly listed as
both a buildtime and runtime dependency for the git package.

I'll add to my queue to do some more debugging, but I'm not expecting to
have time to do any serious investigation here for a while.  Obviously
if anyone else is able to identify the problem, I'm very happy to
consider patches!

Adam
(Cygwin Git maintainer)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* single key stroke `git add -p` bug
@ 2022-08-24 23:17 trashyankes
  2022-08-25 10:34 ` Adam Dinwoodie
  0 siblings, 1 reply; 3+ messages in thread
From: trashyankes @ 2022-08-24 23:17 UTC (permalink / raw)
  To: cygwin

Hello   I update recently all cygwin packages and after that `git add -p` stop working correctly.  (previous update I did around 2 month ago)  I use mintty on Windows 10 x64, and have set `git config --global interactive.singlekey true` when I run this command whole terminal freeze and show message from git:  ```  warning: reading single keystrokes not supported on this platform; reading line instead  ```  mintty stop accepting any input even `Ctrl-C`.   I tried to revert mintty and git to older version but every one available have same behavior.  For now disabling `singlekey` make this git operation work again but this is big lose in productivity.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-25 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 20:07 single key stroke `git add -p` bug trashyankes
  -- strict thread matches above, loose matches on Subject: below --
2022-08-24 23:17 trashyankes
2022-08-25 10:34 ` Adam Dinwoodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).