Skip to content

Commit

Permalink
Fix duplicate commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Padilla committed Jul 30, 2021
1 parent e0eb757 commit d5a1b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tui/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (rs *repoSource) loadRepos() {
return
}
rs.repos = make([]*git.Repository, 0)
rs.commits = make([]*object.Commit, 0)
for _, rd := range rd {
r, err := git.PlainOpen(rs.path + string(os.PathSeparator) + rd.Name())
if err != nil {
Expand Down

0 comments on commit d5a1b3c

Please sign in to comment.