mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 16:16:28 -04:00
Update pkg/commands/github.go
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
This commit is contained in:
parent
37aa558d34
commit
27a12fe2ea
|
|
@ -40,7 +40,7 @@ func (c *GitCommand) GenerateGithubPullRequestMap(prs []*models.GithubPullReques
|
|||
}
|
||||
|
||||
for _, branch := range branches {
|
||||
if !branch.IsTrackingRemote() {
|
||||
if !branch.IsTrackingRemote() || branch.BranchName() == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue