From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: "Preston, David J." <David.Preston@onegas.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git bash bug
Date: Fri, 11 Jul 2025 16:40:03 +0200 (CEST) [thread overview]
Message-ID: <a8cfe8ee-81ab-b0e6-a82b-f8cbeb0d9122@gmx.de> (raw)
In-Reply-To: <PH7PR11MB65466DEE20BA470C600C7B9B9549A@PH7PR11MB6546.namprd11.prod.outlook.com>
Hi David,
On Wed, 9 Jul 2025, Preston, David J. wrote:
> What did you do before the bug happened? (Steps to reproduce your issue)
> started happening after an update to a newer version of git... has been
> happening for a while, so i am not sure what version it started with
>
> What did you expect to happen? (Expected behavior)
> when using git bash in windows environment, when a previously typed
> command is executing and i start typing, i expect that what i type will
> eventually show up on the command line, in the order i typed it, once
> the executing command completes.
>
> What happened instead? (Actual behavior)
> letters that i have typed show up in a different order than i typed
> them. basically, i think there is some async processing going on, and
> keyboard input is being handled in such a way that the keystrokes are
> output to the console in an order that is random based on race
> conditions in the async code.
>
> What's different between what you expected and what actually happened?
> keys output in a different order than i typed them in.
This is essentially the same issue that has been reported at
https://github.com/git-for-windows/git/issues/5632.
The problem is in the MSYS2 runtime, which is the POSIX emulation layer
required to run Bash that Git for Windows employed, which in turn is a
friendly fork of the Cygwin runtime.
I haven't had time to report this bug over in Cygwin yet (for which I
would have to verify that this bug reproduces with their own Bash running
in their own MinTTY). Maybe you can help out and install Cygwin
(https://cygwin.com) and perform that test?
Thanks,
Johannes
next prev parent reply other threads:[~2025-07-11 14:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 17:20 git bash bug Preston, David J.
2025-07-09 22:47 ` brian m. carlson
2025-07-11 14:40 ` Johannes Schindelin [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-07-14 13:43 Git Bash Bug Kavita Desai
2017-07-14 14:28 ` Johannes Schindelin
2017-07-14 14:34 ` Kavita Desai
2017-07-14 14:37 ` Paul Smith
2017-07-14 14:59 ` Kavita Desai
2017-07-14 15:03 ` Paul Smith
2017-07-14 20:33 ` Johannes Schindelin
2017-07-14 21:12 ` Paul Smith
2017-07-14 21:52 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a8cfe8ee-81ab-b0e6-a82b-f8cbeb0d9122@gmx.de \
--to=johannes.schindelin@gmx.de \
--cc=David.Preston@onegas.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).