git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Bug Report: git add --patch > "e" makes keyboard unresponsive

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 16, 2025, 03:34 UTC
Message-ID
<84c3ccdb-2aaf-9b34-91c5-cf5c27f53dcb@gmx.de>
In-Reply-To
<CADs5QabwDtUpehNY3hr6BzKyfpp-Ts54TANGkygWPcN3T=OSOg@mail.gmail.com>
Hi Dan,
On Wed, 24 Apr 2024, Dan Demp wrote:
Show 8 quoted lines
> Thank you for filling out a Git bug report!
> Please answer the following questions to help us understand your issue.
>
> What did you do before the bug happened? (Steps to reproduce your issue)
>
> When doing a git add --patch, I used the "e" option to edit a diff I
> couldn't split sufficiently. This worked, however when it moved on to
> the next diff, my keyboard became unresponsive.

It is likely that this is related to https://github.com/git-for-windows/git/issues/4776 (but I can't be sure because your bug report did not mention overriding the editor), and will be fixed in Git for Windows v2.49.0.

I refused to release on a Friday (absent any good reason) which is why this version is scheduled to appear this coming Monday.

Ciao, Johannes

Show 41 quoted lines
>
> What did you expect to happen? (Expected behavior)
>
> Not make my keyboard unresponsive.
>
> What happened instead? (Actual behavior)
>
> I was unable to enter any option to proceed with the patch, and even
> Ctrl+C failed to kill the git command. I ended up having to close my
> Git Bash process and open a new one.
>
> What's different between what you expected and what actually happened?
>
> Keyboard unresponsive.
>
> Anything else you want to add:
>
> I've reproduced this every subsequent time I've tried this, and it's
> specific to using the "e" option with --patch.
>
> Please review the rest of the bug report below.
> You can delete any lines you don't wish to share.
>
>
> [System Info]
> git version:
> git version 2.42.0.windows.2
> cpu: x86_64
> sizeof-long: 4
> sizeof-size_t: 8
> shell-path: /bin/sh
> feature: fsmonitor--daemon
> uname: Windows 10.0 19045
> compiler info: gnuc: 13.2
> libc info: no libc information available
> $SHELL (typically, interactive shell): C:\Program Files\Git\usr\bin\bash.exe
>
>
> [Enabled Hooks]
>
>
Previous: Dan DempNext: Junio C Hamano
Message 7 of 12 in “Git Bug Report: git add --patch > "e" makes keyboard unresponsive”
  1. Dan DempApr 24, 2024
  2. brian m. carlsonApr 24, 2024
  3. Junio C HamanoApr 24, 2024
  4. Dan DempApr 25, 2024
  5. Junio C HamanoApr 25, 2024
  6. Dan DempApr 25, 2024
  7. Johannes SchindelinMar 16, 2025
  8. Junio C HamanoMar 17, 2025
  9. Releasing versions on Fridays, was Re: Git Bug Report: git add --patch > "e" makes keyboard unresponsiveJohannes Schindelin, Mar 25, 2025
  10. Junio C HamanoMar 25, 2025
  11. Johannes SchindelinMar 26, 2025
  12. Junio C HamanoMar 26, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.