Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reaching down the file crashes the tribe, leaving the color set in the shell transparent #20

Open
porcevader opened this issue Nov 22, 2017 · 1 comment

Comments

@porcevader
Copy link

Title is all.
I will try to reproduce and nail down the condition.

@porcevader
Copy link
Author

The crash is reliably reproduced by issuing tribe blame toward the end of the file.
For instance, I have file whose line length is 321.

$ tribe blame -L320 myfile.go

..
017/11/21 18:59:31 Loader panics: exit status 128
panic: Loader panics: exit status 128
goroutine 6 [running]:
log.Panicln(0xc42024cfb8, 0x1, 0x1)
/usr/lib/...golang/src/log/log.go:344 +0xc0
github.com/HeySquirrel/tribe/blame/model.(*cache).startCacheWorkers.func1(0xc4201b00c0) /usr/local/.../src/github.com/HeySquirrel/tribe/blame/model/annotate.go:126 +0xe6
created by github.com/HeySquirrel/tribe/blame/model.(*cache).startCacheWorkers
/usr/local/.../src/github.com/HeySquirrel/tribe/blame/model/annotate.go:122 +0x48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant