aboutsummaryrefslogtreecommitdiff
path: root/pkg/git/git.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-08 00:01:44 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-08 00:01:44 +0200
commit6079b1d963f34ada5c4b25363f2319901e283936 (patch)
treef7f93616eb3dacfcebee486fe7542ec3adfb3950 /pkg/git/git.go
parente9098e00fb6339b759df5b0df2e086cef8a7ce83 (diff)
downloadcerrado-6079b1d963f34ada5c4b25363f2319901e283936.tar.gz
cerrado-6079b1d963f34ada5c4b25363f2319901e283936.tar.bz2
cerrado-6079b1d963f34ada5c4b25363f2319901e283936.zip
feat: Add error handling
Diffstat (limited to 'pkg/git/git.go')
-rw-r--r--pkg/git/git.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/git/git.go b/pkg/git/git.go
index 6a7b91f..ad5d3bc 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -99,9 +99,6 @@ func (g *GitRepository) Commits() ([]*object.Commit, error) {
}
commits = append(commits, c)
}
- if err != nil {
- return nil, err
- }
return commits, nil
}