summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/pelletier/go-toml/keysparsing.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-08-03 18:37:53 +0200
committerGitHub <noreply@github.com>2024-08-03 18:37:53 +0200
commita3560eb451fcf375378a316cbc2f4e08e24bf756 (patch)
treeda5e3164495831af816dcf3cf9706209b75d9eef /vendor/github.com/pelletier/go-toml/keysparsing.go
parent74fe069da93f82c1495913d59ea33751423ce813 (diff)
parentef4fd70f9c6225dbc9401a5efad4ca0bdad827f8 (diff)
Don't exit app when GetRepoPaths call fails during startup (#3779)HEADmaster
- **PR Description** Fixes #3740 As explained in the issue, 7a67096 moved some code around that caused a call to `GetRepoPaths` to occur before `setupApp`, which usually handles the scenario where we are not in a git directory. `GetRepoPaths` returns an error if the path isn't a git repository, which caused the app to exit before we reached `setupApp`. When starting up lazygit, we ignore (and log) the error returned by `GetRepoPaths`, and continue instead of exiting early. This allows us to reach the step where we follow the user's `notARepository` config entry.
Diffstat (limited to 'vendor/github.com/pelletier/go-toml/keysparsing.go')
0 files changed, 0 insertions, 0 deletions