panic: invalid person data

Timeline

Devin Smith (devinrsmith) opened

Running git bug ls against this repository is panicking as follows:

$ ~/bin/git-bug ls
...
panic: invalid person data

goroutine 1 [running]:
github.com/MichaelMure/git-bug/cache.LegacyAuthorExcerpt.DisplayName(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/michael/dev/git-bug/cache/bug_excerpt.go:60 +0x190
github.com/MichaelMure/git-bug/commands.runLsBug(0x1e1c520, 0x1e45678, 0x0, 0x0, 0x0, 0x0)
        /home/michael/dev/git-bug/commands/ls.go:66 +0xd05
github.com/spf13/cobra.(*Command).execute(0x1e1c520, 0x1e45678, 0x0, 0x0, 0x1e1c520, 0x1e45678)
        /home/michael/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:840 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0x1e1cd00, 0x0, 0x0, 0x0)
        /home/michael/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
        /home/michael/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
github.com/MichaelMure/git-bug/commands.Execute()
        /home/michael/dev/git-bug/commands/root.go:54 +0x2d
main.main()
        /home/michael/dev/git-bug/git-bug.go:17 +0x20
$ ~/bin/git-bug version
git-bug version: 0.7.0
$ git --version
git version 2.25.0
$ git remote -v
origin  https://github.com/MichaelMure/git-bug.git (fetch)
origin  https://github.com/MichaelMure/git-bug.git (push)

Michael Muré (MichaelMure) closed the bug