Skip to content

Commit 7445730

Browse files
committed
chore: fix function name in comment
Signed-off-by: riyueguang <rustruby@outlook.com>
1 parent 61636d8 commit 7445730

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/commands/git_commands/commit_loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func (self *CommitLoader) getFirstPushedCommit(refName string) (string, error) {
496496
return ignoringWarnings(output), nil
497497
}
498498

499-
// getLog gets the git log.
499+
// getLogCmd gets the git log.
500500
func (self *CommitLoader) getLogCmd(opts GetCommitsOptions) oscommands.ICmdObj {
501501
gitLogOrder := self.AppState.GitLogOrder
502502

pkg/gui/controllers/helpers/app_status_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (self appStatusHelperTask) Continue() {
5757
self.waitingStatusHandle.Show()
5858
}
5959

60-
// withWaitingStatus wraps a function and shows a waiting status while the function is still executing
60+
// WithWaitingStatus wraps a function and shows a waiting status while the function is still executing
6161
func (self *AppStatusHelper) WithWaitingStatus(message string, f func(gocui.Task) error) {
6262
self.c.OnWorker(func(task gocui.Task) error {
6363
return self.WithWaitingStatusImpl(message, f, task)

0 commit comments

Comments
 (0)