1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-27 22:38:09 +02:00
Files
lazygit/pkg/gui
Stefan Haller dd47ef7354 Make prepareConversionArrays a little more concurrency safe
I have seen cases where during a rebase (two nonModelItems) all entries in
viewIndicesByModelIndex beyond the second nonModelItem were off by 4 rather than
2 as I would expect. The only explanation I have for this is that the function
was called concurrently.

Improve this by working on a local variable and only assign to self at the end;
this is not a real fix for the concurrency issue of course, but it makes it much
less likely to be a problem in practice.
2025-07-12 17:25:35 +02:00
..
2025-07-08 16:41:22 +02:00
2025-07-08 15:14:45 +02:00
2025-05-06 09:43:26 +02:00
2025-07-08 16:32:21 +02:00
2025-06-05 13:20:38 +02:00
2025-03-28 11:16:04 +01:00
2025-06-15 16:28:20 +02:00