mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
refactor: Rename UsingGpg to make room for Gpg Tag logic
This commit is contained in:
parent
67b0db0bd8
commit
52da806c57
4 changed files with 8 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue