-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interactive.singlekey
in git-cmd.exe
lists chunks thrice in 2.37.0-rc0 and later
#4466
Comments
During this weekend I was able to test things thoroughly:
The preliminary culprit is MSYS2 runtime (Cygwin 3.3.5 - possibly something in Additional observations:
|
interactive.singlekey
doesn't work as expected - prints the listing thriceinteractive.singlekey
in git-cmd.exe
lists chunks thrice in 2.37.0-rc0 and later
I've observed the same behavior on Here's some other curious behavior which may be related to your second bullet point: When you get the 3x hunk view, input 2 options (e.g. Upon further testing, it seems like everything after the first character is flushed one by one until all hunks are exhausted. Then on the next Some examples (noise ommitted with Just pressing
With 2 inputs:
Just hitting enter
While goofing around with just pressing enter, I noticed that a newline only intermittently appears between the prompt and the help text. Perhaps this intermittent-ness explains the nature of the bug, and why I can't reliable reproduce the behavior where the buffer continues flushing on a subsequent |
I have same issue with
I think that cygwin is in fault as it own git have broken |
Setup
defaults?
to the issue you're seeing?
None. I'm stumped.
Details
conhost.exe
+cmd.exe
. Tested other configurations; works (i.e. doesn't) the same everywhere.Minimal, Complete, and Verifiable example
this will help us understand the issue.
Interactive selection of chunks using a single key, i.e. without supplying linefeed.
Nothing happens when a key is pressed. Upon pressing Enter, the listing gets printed thrice.
URL to that repository to help us with testing?
The problem is not related to a specific repository.
So far I've tested 2.36.1-64-bit (works correctly) and 2.41.0-64-bit (see below), regular installers and PortableGit. I have yet to narrow the version which introduced this regression.
As they say - a picture (well, a clip) is worth a thousand words:
cmd_CqNU48rMxW.mp4
The text was updated successfully, but these errors were encountered: