Stefan Haller
3e15be576e
Drop the git config cache when getting focus
...
This allows changing git config values while lazygit is running (e.g. in a
different terminal tab, or even in lazygit's ":" shell prompt), and have them
take effect immediately, while still getting some benefit from caching them
while lazygit is in the foreground.
2025-03-20 11:50:28 +01:00
Stefan Haller
f98b57aa5e
Change direct access to Common.UserConfig to a getter
...
This will allow us to turn the field into an atomic.Value for safe concurrent
access.
2024-08-18 10:24:52 +02:00
Karim Khaleel
1a035db4c8
Add UserConfig jsonschema generation script
2023-12-02 10:46:24 +01:00
Stefan Haller
4eb73393bb
Don't show branch marker for head commit unless updateRefs config is on
2023-07-31 08:34:01 +02:00
Gustavo Krieger
9ae7710850
Use comment char config on interactive rebase
...
Co-authored-by: Stefan Haller <stefan@haller-berlin.de>
2023-07-02 02:07:32 -03:00
Jesse Duffield
16c9b5404d
restore field
2022-01-09 14:09:53 +11:00
Jesse Duffield
18f48a43d5
add some more linters
2022-01-09 14:09:53 +11:00
Jesse Duffield
e4e521f58a
pass repo to struct
2022-01-09 14:09:53 +11:00
Jesse Duffield
c9a0cc6b30
refactor
2022-01-09 14:09:53 +11:00