1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-08 22:52:12 +02:00
This commit is contained in:
Jesse Duffield
2021-12-30 13:13:25 +11:00
parent b028f37ba8
commit 5b35724243
2 changed files with 1 additions and 6 deletions

View File

@@ -21,12 +21,9 @@ import (
// be processed as part of a rebase (these won't appear in git log but we // 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 // 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 = "|" 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 { type CommitListBuilder struct {
*common.Common *common.Common
cmd oscommands.ICmdObjBuilder cmd oscommands.ICmdObjBuilder
@@ -38,7 +35,6 @@ type CommitListBuilder struct {
dotGitDir string dotGitDir string
} }
// NewCommitListBuilder builds a new commit list builder
func NewCommitListBuilder( func NewCommitListBuilder(
cmn *common.Common, cmn *common.Common,
gitCommand *GitCommand, gitCommand *GitCommand,

View File

@@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
// NewDummyCommitListBuilder creates a new dummy CommitListBuilder for testing
func NewDummyCommitListBuilder() *CommitListBuilder { func NewDummyCommitListBuilder() *CommitListBuilder {
cmn := utils.NewDummyCommon() cmn := utils.NewDummyCommon()