mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-12 02:16:50 +00:00
If git fails to list the files of the diff that a custom patch is built from, we carry on as if the diff had no files. Then we don't know which files were renamed, added or deleted, and build the patch from the wrong lines or without the file's creation or deletion. Return the error instead, so that the user sees it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>