Remove parameters that are no longer needed

All callers in this file now use reverseOnGenerate=false and
keepOriginalHeader=true, so hard-code that in the call to ModifiedPatchForLines
and get rid of the parameters.
This commit is contained in:
Stefan Haller
2023-02-23 18:50:53 +01:00
parent 5d692e8961
commit 6bd1c1d068
2 changed files with 8 additions and 8 deletions

View File

@@ -672,7 +672,7 @@ func (gui *Gui) refreshPatchBuildingPanel(opts types.OnFocusOpts) error {
return err
}
secondaryDiff := gui.git.Patch.PatchManager.RenderPatchForFile(path, false, false, false, true)
secondaryDiff := gui.git.Patch.PatchManager.RenderPatchForFile(path, false, false)
if err != nil {
return err
}