From 6fddf2aa8b0c9420d36cc7dda7bae417bb27e2b5 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 30 Dec 2021 13:13:25 +1100 Subject: [PATCH] WIP --- pkg/commands/loading_commits.go | 6 +----- pkg/commands/loading_commits_test.go | 1 - 2 files changed, 1 insertion(+), 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()