1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-01 00:54:58 +02:00

pull commit list builder functions into their own builder struct

This commit is contained in:
Jesse Duffield
2019-02-19 09:18:30 +11:00
parent a8e22ed82f
commit dcc7855fd0
4 changed files with 284 additions and 240 deletions

View File

@ -20,6 +20,9 @@ import (
// our safe branches, then add the remaining safe branches, ensuring uniqueness
// along the way
// 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
// BranchListBuilder returns a list of Branch objects for the current repo
type BranchListBuilder struct {
Log *logrus.Entry