1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

chore: typo hunting ft. codespell

This commit is contained in:
casswedson
2022-04-03 15:19:15 -05:00
committed by Jesse Duffield
parent 3b5a019e1a
commit b7928042f0
11 changed files with 17 additions and 17 deletions

View File

@ -77,7 +77,7 @@ func TestNavigateToRepoRootDirectory(t *testing.T) {
},
},
{
"An error occurred when getting path informations",
"An error occurred when getting path information",
func(string) (os.FileInfo, error) {
return nil, fmt.Errorf("An error occurred")
},

View File

@ -125,7 +125,7 @@ func TestGetPullRequestURL(t *testing.T) {
},
},
{
testName: "Opens a link to new pull request on Azure DevOps (SSH) with specifc target",
testName: "Opens a link to new pull request on Azure DevOps (SSH) with specific target",
from: "feature/new",
to: "dev",
remoteUrl: "git@ssh.dev.azure.com:v3/myorg/myproject/myrepo",
@ -144,7 +144,7 @@ func TestGetPullRequestURL(t *testing.T) {
},
},
{
testName: "Opens a link to new pull request on Azure DevOps (HTTP) with specifc target",
testName: "Opens a link to new pull request on Azure DevOps (HTTP) with specific target",
from: "feature/new",
to: "dev",
remoteUrl: "https://myorg@dev.azure.com/myorg/myproject/_git/myrepo",

View File

@ -57,7 +57,7 @@ func (self *ReflogCommitLoader) GetReflogCommits(lastReflogCommit *models.Commit
}
// note that the unix timestamp here is the timestamp of the COMMIT, not the reflog entry itself,
// so two consequetive reflog entries may have both the same SHA and therefore same timestamp.
// so two consecutive reflog entries may have both the same SHA and therefore same timestamp.
// We use the reflog message to disambiguate, and fingers crossed that we never see the same of those
// twice in a row. Reason being that it would mean we'd be erroneously exiting early.
if lastReflogCommit != nil && commit.Sha == lastReflogCommit.Sha && commit.UnixTimestamp == lastReflogCommit.UnixTimestamp && commit.Name == lastReflogCommit.Name {