1
0
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:
riyueguang
2025-12-06 18:28:58 +08:00
parent 06426b2107
commit 13b4e16e6a
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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.