1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Extract amendHead function into new AmendHelper

This commit is contained in:
Stefan Haller
2023-03-09 14:36:43 +01:00
parent 7513d77567
commit 85fdb700ba
4 changed files with 43 additions and 11 deletions

View File

@ -14,6 +14,7 @@ type Helpers struct {
PatchBuilding *PatchBuildingHelper
GPG *GpgHelper
Upstream *UpstreamHelper
AmendHelper *AmendHelper
}
func NewStubHelpers() *Helpers {
@ -31,5 +32,6 @@ func NewStubHelpers() *Helpers {
PatchBuilding: &PatchBuildingHelper{},
GPG: &GpgHelper{},
Upstream: &UpstreamHelper{},
AmendHelper: &AmendHelper{},
}
}