summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-30 13:13:25 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-04 09:07:15 +1100
commit5b3572424380418f86df88d201347b54634be530 (patch)
tree16da7993587b0591d14c86177b7493cd9a9fe98d /pkg/commands
parentb028f37ba8724d9d46a4521d819d60e2cf9cc977 (diff)
WIP
Diffstat (limited to 'pkg/commands')
-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()