1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

fix loaders

This commit is contained in:
Ryooooooga
2022-03-26 21:55:44 +09:00
committed by Jesse Duffield
parent 86c259623c
commit 99ecc1cfdf
6 changed files with 30 additions and 28 deletions

View File

@ -121,7 +121,7 @@ func (self *BranchLoader) obtainBranches() []*models.Branch {
return nil, false
}
split := strings.Split(line, SEPARATION_CHAR)
split := strings.Split(line, "\x00")
if len(split) != 4 {
// Ignore line if it isn't separated into 4 parts
// This is probably a warning message, for more info see: