1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands
Stefan Haller 39f3f150ed Fix crash when a background fetch prompts for credentials
This happens consistently for my when I close my MacBook's lid. It seems that
MacOS locks the user's keychain in this case, and since I have my keychain
provide the pass phrases for my ssh keys, fetching fails because it tries to
prompt me for a pass phrase.

This all worked correctly already, we have the FailOnCredentialRequest()
mechanism specifically for this situation, so all is great. The only problem was
that it was trying to pause the ongoing task while prompting the user for input;
but the task is nil for a background fetch (and should be).
2023-07-18 18:53:35 +02:00
..
git_commands Fix populating the Commit.Tags field 2023-07-15 13:07:02 +02:00
git_config Use mutex on cached git config 2023-07-09 21:30:19 +10:00
hosting_service Update gitlab commit URL to match new routing 2023-05-22 07:39:47 +03:30
models Support filtering files 2023-07-03 12:54:13 +10:00
oscommands Fix crash when a background fetch prompts for credentials 2023-07-18 18:53:35 +02:00
patch Refactor interface for ApplyPatch 2023-05-20 20:54:39 +10:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums more refactoring 2022-01-04 09:07:15 +11:00
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00
git_test.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
git.go Use comment char config on interactive rebase 2023-07-02 02:07:32 -03:00