summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-30 13:13:25 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-12-30 13:13:25 +1100
commit6fddf2aa8b0c9420d36cc7dda7bae417bb27e2b5 (patch)
treefc8c7d291e5a6d0d6c620714ea7cd9c6bb7165e8 /pkg
parentc24bb111411057ea90054630cdd29a545704240e (diff)
WIP
Diffstat (limited to 'pkg')
-rw-r--r--pkg/commands/loading_commits.go6
-rw-r--r--pkg/commands/loading_commits_test.go1
2 files changed, 1 insertions, 6 deletions
diff --git a/pkg/commands/loading_commits.go b/pkg/commands/loading_commits.go
index 04e4bf3a5..af93509c5 100644
--- a/pkg/commands/loading_commits.go
+++ b/pkg/commands/loading_commits.go
@@ -21,12 +21,9 @@ import (
// be processed as part of a rebase (these won't appear in git log but we
// grab them from the rebase-related files in the .git directory to show them
-// if we find out we need to use one of these functions in the git.go file, we
-// can just pull them out of here and put them there and then call them from in here
-
const SEPARATION_CHAR = "|"
-// CommitListBuilder returns a list of Branch objects for the current repo
+// CommitListBuilder returns a list of Commit objects for the current repo
type CommitListBuilder struct {
*common.Common
cmd oscommands.ICmdObjBuilder
@@ -38,7 +35,6 @@ type CommitListBuilder struct {
dotGitDir string
}
-// NewCommitListBuilder builds a new commit list builder
func NewCommitListBuilder(
cmn *common.Common,
gitCommand *GitCommand,
diff --git a/pkg/commands/loading_commits_test.go b/pkg/commands/loading_commits_test.go
index a8009d3f6..29f8ef992 100644
--- a/pkg/commands/loading_commits_test.go
+++ b/pkg/commands/loading_commits_test.go
@@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
)
-// NewDummyCommitListBuilder creates a new dummy CommitListBuilder for testing
func NewDummyCommitListBuilder() *CommitListBuilder {
cmn := utils.NewDummyCommon()