1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-16 09:27:37 +03:00
Files
lazygit/pkg/commands/git_commands
Karen Grigoryan e6f3313d9a Fix support for Git copy status when status.renames=copies
Fixes #4890

When Git is configured with status.renames=copies, it can produce
status codes starting with "C" (copy) in addition to "R" (rename).
The file loader was only checking for "R" prefixes, causing copy
operations to be parsed incorrectly and breaking file staging.

This fix extends the status parser to handle both "R" and "C"
prefixes, ensuring proper support for Git's copy detection feature.

Fixes file staging issues when using status.renames=copies configuration.
2025-10-14 11:57:12 +02:00
..
2024-04-12 08:33:47 +02:00
2024-04-12 08:33:47 +02:00
2023-10-08 18:45:36 +02:00
2025-07-08 16:32:21 +02:00
2025-07-08 16:32:21 +02:00
2025-05-01 15:21:37 +02:00
2024-01-10 09:18:38 +01:00
2025-10-09 08:45:58 +02:00