summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/gui/controllers/helpers/patch_building_helper.go3
-rw-r--r--pkg/gui/presentation/commits.go2
2 files changed, 1 insertions, 4 deletions
diff --git a/pkg/gui/controllers/helpers/patch_building_helper.go b/pkg/gui/controllers/helpers/patch_building_helper.go
index fd3c49718..a9fe4f6da 100644
--- a/pkg/gui/controllers/helpers/patch_building_helper.go
+++ b/pkg/gui/controllers/helpers/patch_building_helper.go
@@ -79,9 +79,6 @@ func (self *PatchBuildingHelper) RefreshPatchBuildingPanel(opts types.OnFocusOpt
}
secondaryDiff := self.c.Git().Patch.PatchBuilder.RenderPatchForFile(path, false, false)
- if err != nil {
- return err
- }
context := self.c.Contexts().CustomPatchBuilder
diff --git a/pkg/gui/presentation/commits.go b/pkg/gui/presentation/commits.go
index b4297f6ed..ac1006c3d 100644
--- a/pkg/gui/presentation/commits.go
+++ b/pkg/gui/presentation/commits.go
@@ -99,7 +99,7 @@ func GetCommitListDisplayStrings(
}
}
} else {
- getGraphLine = func(idx int) string { return "" }
+ getGraphLine = func(int) string { return "" }
}
// Determine the hashes of the local branches for which we want to show a