1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/pkg
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
..
app Do not quote initial branch arg when creating repo 2023-07-11 17:18:58 +10:00
cheatsheet Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commands Fix crash when a background fetch prompts for credentials 2023-07-18 18:53:35 +02:00
common
config config: rely on .gitconfig for verbose commit messages 2023-07-14 07:56:09 +02:00
constants
env
fakes
gui Fix potentially wrong help text in commit message panel 2023-07-15 13:03:13 +02:00
i18n Fix potentially wrong help text in commit message panel 2023-07-15 13:03:13 +02:00
integration Allow checking for merge conflicts after running a custom command 2023-07-13 18:40:34 +10:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake
tasks Refactor 2023-07-10 17:12:21 +10:00
theme Color view frame differently when searching/filtering 2023-07-03 12:54:14 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils View filtering (#2680) 2023-07-03 12:57:11 +10:00