jesseduffield.lazygit/pkg/commands/oscommands
Stefan Haller 2a8ef71e8f Use PTY also with credentialStrategy=FAIL
This is a regression introduced with a199ed1396c; it is important to use a PTY
even with credentialStrategy=FAIL, otherwise the fetch command will spew the
credentials request into the UI and then hang.

This fixes the problem that background fetching makes lazygit hang when the
fetch request needs to prompt for a passphrase. For Mac users who use the
keychain to store their ssh passphrases, this can happen when lazygit is running
while the machine goes to sleep, because macOS looks the keychain in that case.
2025-05-23 11:34:57 +02:00
..
cmd_obj.go Use PTY also with credentialStrategy=FAIL 2025-05-23 11:34:57 +02:00
cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
cmd_obj_runner.go Add separate UsePty flag for CmdObj 2025-05-01 15:21:37 +02:00
cmd_obj_runner_default.go Rename getCmdHandler to getCmdHandlerPty, and add getCmdHandlerNonPty 2025-05-01 15:21:37 +02:00
cmd_obj_runner_test.go Add Token credential request handling 2024-07-06 21:44:10 +10:00
cmd_obj_runner_win.go Rename getCmdHandler to getCmdHandlerPty, and add getCmdHandlerNonPty 2025-05-01 15:21:37 +02:00
cmd_obj_test.go Remove secureexec package 2023-07-30 19:59:51 +10:00
copy.go chore: use errors.New to replace fmt.Errorf with no parameters. 2024-04-24 16:21:34 +08:00
dummies.go Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
fake_cmd_obj_runner.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
gui_io.go Use first class task objects instead of global counter 2023-07-09 21:30:19 +10:00
os.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
os_default_platform.go Add config os.shellFunctionsFile 2025-04-07 14:35:40 +02:00
os_default_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
os_test.go Fix typos 2025-01-03 10:50:36 +11:00
os_windows.go Revert commits related to using an interactive shell for running shell commands 2025-04-07 14:35:40 +02:00
os_windows_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00