lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Lazy git crashes after attempting to fetch (on windows)

Open mzhubail opened this issue 8 months ago • 2 comments

Describe the bug

Lazy git seems to not handle prompting user for input properly.

To Reproduce

Steps to reproduce the behavior:

  1. Open Lazygit
  2. Wait for it to auto fetch

Expected behavior

It would show fetch failed in logs, and would handle that gracefully.

Screenshots

Image

Version info:

Installed through scoop

commit=1d0db51caf3d280a53f027ef049355fc9e0c57e8, build date=2026-02-07T08:34:27Z, build source=binaryRelease, version=0.59.0, os=windows, arch=amd64, git version=2.53.0.windows.1

Terminal info:

Windows terminal (wt)

Additional context

Add any other context about the problem here.

[!NOTE] Please try updating to the latest version or manually building the latest master to see if the issue still occurs.

mzhubail avatar Mar 03 '26 14:03 mzhubail

I have the same issue here ! How can I get more debug info from the crash ?

Tilapiatsu avatar Mar 25 '26 08:03 Tilapiatsu

Sorry for not mentioning this earlier, the issue is specifically happening when the ssh key is encrypted. If it is not encrypted the auto-fetch runs normally and app doesn't crash.

Seems to be an issue with the prompt for ssh key password not being handled properly?

mzhubail avatar Mar 27 '26 12:03 mzhubail