summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorcasswedson <58050969+casswedson@users.noreply.github.com>2022-04-03 15:19:15 -0500
committerJesse Duffield <jessedduffield@gmail.com>2022-04-06 08:52:41 +1000
commitb7928042f0fde73b632e115785e1bbe5d8978139 (patch)
treea39564d0d326c85c15d6f6d789f7d4d87b0ddc85 /pkg/commands
parent3b5a019e1a33bbb9b331d44956f98b2b8c4cd5a9 (diff)
chore: typo hunting ft. codespell
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/git_test.go2
-rw-r--r--pkg/commands/hosting_service/hosting_service_test.go4
-rw-r--r--pkg/commands/loaders/reflog_commits.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index 77436130d..a0faf3a78 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -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")
},
diff --git a/pkg/commands/hosting_service/hosting_service_test.go b/pkg/commands/hosting_service/hosting_service_test.go
index f5cbe949e..df326c4ba 100644
--- a/pkg/commands/hosting_service/hosting_service_test.go
+++ b/pkg/commands/hosting_service/hosting_service_test.go
@@ -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",
diff --git a/pkg/commands/loaders/reflog_commits.go b/pkg/commands/loaders/reflog_commits.go
index 56d10b9f3..4d73adb24 100644
--- a/pkg/commands/loaders/reflog_commits.go
+++ b/pkg/commands/loaders/reflog_commits.go
@@ -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 {