1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
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
24841f22f1 Use print instead of printf when there are no arguments 2024-08-27 10:33:06 +02:00
d712c2f199 Use format arguments instead of concatenating strings
That's what they are for.
2024-08-27 10:33:06 +02:00
fdff2dec79 Remove redundant variable dedeclarations
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
975d2bedb6 Remove secureexec package
From the go 1.19 release notes:

Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for information about how best to update such programs.
2023-07-30 19:59:51 +10:00
8964cedf27 Use mutex on cached git config
This fixes a race condition caused by a concurrent map read and write
2023-07-09 21:30:19 +10:00
b8900baf1a remove deprecated calls 2022-09-17 15:10:41 -07:00
ccf90466fa fix test 2022-01-09 14:09:53 +11:00
5d6d894286 fix test 2022-01-09 14:09:53 +11:00
e8229f0ee0 support general git config calls 2022-01-09 14:09:53 +11:00
610e503296 refactor git flow 2022-01-09 14:09:53 +11:00
b6a5e9d615 use cached git config 2021-10-23 10:26:47 +11:00