mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-22 00:17:37 +02:00
chore: fix function name in comment
Signed-off-by: riyueguang <rustruby@outlook.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user