Skip to content

Commit 0fc8cb3

Browse files
authored
chore: fix function name in comment (#4481)
2 parents 06426b2 + 13b4e16 commit 0fc8cb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/commands/git_commands/commit_loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ func (self *CommitLoader) getReachableHashes(refName string, notRefNames []strin
575575
return set.NewFromSlice(utils.SplitLines(output))
576576
}
577577

578-
// getLog gets the git log.
578+
// getLogCmd gets the git log.
579579
func (self *CommitLoader) getLogCmd(opts GetCommitsOptions) *oscommands.CmdObj {
580580
gitLogOrder := self.UserConfig().Git.Log.Order
581581

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)

pkg/gui/controllers/helpers/credentials_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func NewCredentialsHelper(
1717
}
1818
}
1919

20-
// promptUserForCredential wait for a username, password or passphrase input from the credentials popup
20+
// PromptUserForCredential wait for a username, password or passphrase input from the credentials popup
2121
// We return a channel rather than returning the string directly so that the calling function knows
2222
// when the prompt has been created (before the user has entered anything) so that it can
2323
// note that we're now waiting on user input and lazygit isn't processing anything.

0 commit comments

Comments
 (0)