mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
refactor: Rename UsingGpg to make room for Gpg Tag logic
This commit is contained in:
committed by
Stefan Haller
parent
67b0db0bd8
commit
52da806c57
@ -23,7 +23,7 @@ func NewGpgHelper(c *HelperCommon) *GpgHelper {
|
||||
// fix this bug, or just stop running subprocesses from within there, given that
|
||||
// we don't need to see a loading status if we're in a subprocess.
|
||||
func (self *GpgHelper) WithGpgHandling(cmdObj oscommands.ICmdObj, waitingStatus string, onSuccess func() error) error {
|
||||
useSubprocess := self.c.Git().Config.UsingGpg()
|
||||
useSubprocess := self.c.Git().Config.NeedsGpgSubprocessForCommit()
|
||||
if useSubprocess {
|
||||
success, err := self.c.RunSubprocess(cmdObj)
|
||||
if success && onSuccess != nil {
|
||||
|
Reference in New Issue
Block a user