mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
chore: fix function name in comment
Signed-off-by: riyueguang <rustruby@outlook.com>
This commit is contained in:
parent
06426b2107
commit
13b4e16e6a
|
|
@ -575,7 +575,7 @@ func (self *CommitLoader) getReachableHashes(refName string, notRefNames []strin
|
|||
return set.NewFromSlice(utils.SplitLines(output))
|
||||
}
|
||||
|
||||
// getLog gets the git log.
|
||||
// getLogCmd gets the git log.
|
||||
func (self *CommitLoader) getLogCmd(opts GetCommitsOptions) *oscommands.CmdObj {
|
||||
gitLogOrder := self.UserConfig().Git.Log.Order
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ func (self appStatusHelperTask) Continue() {
|
|||
self.waitingStatusHandle.Show()
|
||||
}
|
||||
|
||||
// withWaitingStatus wraps a function and shows a waiting status while the function is still executing
|
||||
// WithWaitingStatus wraps a function and shows a waiting status while the function is still executing
|
||||
func (self *AppStatusHelper) WithWaitingStatus(message string, f func(gocui.Task) error) {
|
||||
self.c.OnWorker(func(task gocui.Task) error {
|
||||
return self.WithWaitingStatusImpl(message, f, task)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ func NewCredentialsHelper(
|
|||
}
|
||||
}
|
||||
|
||||
// promptUserForCredential wait for a username, password or passphrase input from the credentials popup
|
||||
// PromptUserForCredential wait for a username, password or passphrase input from the credentials popup
|
||||
// We return a channel rather than returning the string directly so that the calling function knows
|
||||
// when the prompt has been created (before the user has entered anything) so that it can
|
||||
// note that we're now waiting on user input and lazygit isn't processing anything.
|
||||
|
|
|
|||
Loading…
Reference in a new issue