jesseduffield.lazygit/pkg
Stefan Haller d6d48f2866 Make common.UserConfig an atomic.Pointer for safe concurrent access
Currently, userConfig is only read once at startup and then never changes. Later
in this branch, we will add the possibility to reload the user config; this can
happen either when switching repositories, or when the user has edited the
config file. In both cases, reloading happens on the main thread, but the user
config could be accessed concurrently from background threads, so we need to
make this safe.
2024-08-18 10:24:52 +02:00
..
app Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
cheatsheet Remove non-English translation sets, read them from JSON instead 2024-06-23 14:47:50 +02:00
commands Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Save changed user config back to disk in integration tests 2024-08-18 10:24:52 +02:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
i18n Rename "Custom Command" to "Shell Command" 2024-08-17 10:56:03 +02:00
integration Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
jsonschema Fix boolean config keys not appearing in the generated Config.md 2024-05-31 20:07:58 +02:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00