1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-19 00:28:03 +02:00

create backups of patch files in case something goes wrong

This commit is contained in:
Jesse Duffield
2019-11-05 12:42:07 +11:00
parent 733145d132
commit 0046e9c469
3 changed files with 20 additions and 7 deletions

View File

@ -184,7 +184,6 @@ func (p *PatchManager) ApplyPatches(reverse bool) error {
if patch == "" {
continue
}
p.Log.Warn(patch)
if err := p.ApplyPatch(patch, reverseOnApply, false, "--index --3way"); err != nil {
return err
}