mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-08 22:52:12 +02:00
WIP
This commit is contained in:
@@ -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,
|
||||||
|
@@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user