chore: fix function name in comment

Signed-off-by: riyueguang <rustruby@outlook.com>
This commit is contained in:
riyueguang 2025-04-12 09:54:44 +08:00
parent 61636d820c
commit 74457305f1
2 changed files with 2 additions and 2 deletions

View file

@ -496,7 +496,7 @@ func (self *CommitLoader) getFirstPushedCommit(refName string) (string, error) {
return ignoringWarnings(output), nil
}
// getLog gets the git log.
// getLogCmd gets the git log.
func (self *CommitLoader) getLogCmd(opts GetCommitsOptions) oscommands.ICmdObj {
gitLogOrder := self.AppState.GitLogOrder

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)