-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Coming from this line: https://github.com/mergestat/gitutils/blob/main/blame/blame.go#L144
panic: runtime error: index out of range [1] with length 1
goroutine 70 [running]:
github.com/mergestat/gitutils/blame.parseLinePorcelain({0x17a8a80?, 0xc0873d7b10?}, 0xc0012bf880?)
/go/pkg/mod/github.com/mergestat/gitutils@v0.0.0-20221108145951-dde3591e4b3b/blame/blame.go:144 +0x123f
github.com/mergestat/gitutils/blame.Exec({0x17b0f50?, 0xc00034e040}, {0xc00010e700, 0x1e}, {0xc031e66ff5, 0x28}, {0xc0012c1aa8, 0x1, 0x29?})
/go/pkg/mod/github.com/mergestat/gitutils@v0.0.0-20221108145951-dde3591e4b3b/blame/blame.go:224 +0x337
github.com/mergestat/mergestat/internal/syncer.(*worker).handleGitBlame(0xc000be21e0, {0x17b0f50, 0xc00034e040}, 0xc0005d2e00)
/src/internal/syncer/git_blame.go:161 +0xd49
github.com/mergestat/mergestat/internal/syncer.(*worker).handle(0xc000600ba0?, {0x17b0f50, 0xc00034e040}, 0xc0005d2e00)
/src/internal/syncer/syncer.go:162 +0x16c
github.com/mergestat/mergestat/internal/syncer.(*worker).exec(0xc000be21e0, {0x17b0f50, 0xc00034e040}, {0x236cb48, 0x1})
/src/internal/syncer/syncer.go:112 +0x22c
github.com/mergestat/mergestat/internal/syncer.(*worker).Start.func1(0x0?)
/src/internal/syncer/syncer.go:196 +0x90
created by github.com/mergestat/mergestat/internal/syncer.(*worker).Start
/src/internal/syncer/syncer.go:195 +0x5d
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working