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

Allow passing refresh scope to WithGpgHandling

This commit is contained in:
Stefan Haller
2025-03-16 14:36:41 +01:00
parent c06d4e7b18
commit c765da10f5
5 changed files with 10 additions and 10 deletions

View File

@ -20,5 +20,5 @@ func NewAmendHelper(
func (self *AmendHelper) AmendHead() error {
cmdObj := self.c.Git().Commit.AmendHeadCmdObj()
self.c.LogAction(self.c.Tr.Actions.AmendCommit)
return self.gpg.WithGpgHandling(cmdObj, git_commands.CommitGpgSign, self.c.Tr.AmendingStatus, nil)
return self.gpg.WithGpgHandling(cmdObj, git_commands.CommitGpgSign, self.c.Tr.AmendingStatus, nil, nil)
}