aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/commit_walker_path.go
diff options
context:
space:
mode:
authorOleg Kovalov <iamolegkovalov@gmail.com>2020-07-01 20:51:24 +0200
committerOleg Kovalov <iamolegkovalov@gmail.com>2020-07-01 20:51:24 +0200
commit27a034c7643768a4ad486a64e8a1b59fa3f8b3b4 (patch)
tree9d6e25bf60cbd0e1aabbba687f2655867f113c1e /plumbing/object/commit_walker_path.go
parent9ac753f4afb36feb1a1c22214c16e853db54aa00 (diff)
downloadgo-git-27a034c7643768a4ad486a64e8a1b59fa3f8b3b4.tar.gz
fix goreportcard warnings
Diffstat (limited to 'plumbing/object/commit_walker_path.go')
-rw-r--r--plumbing/object/commit_walker_path.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plumbing/object/commit_walker_path.go b/plumbing/object/commit_walker_path.go
index af6f745..aa0ca15 100644
--- a/plumbing/object/commit_walker_path.go
+++ b/plumbing/object/commit_walker_path.go
@@ -4,7 +4,6 @@ import (
"io"
"github.com/go-git/go-git/v5/plumbing"
-
"github.com/go-git/go-git/v5/plumbing/storer"
)
@@ -29,7 +28,7 @@ func NewCommitPathIterFromIter(pathFilter func(string) bool, commitIter CommitIt
return iterator
}
-// this function is kept for compatibilty, can be replaced with NewCommitPathIterFromIter
+// NewCommitFileIterFromIter is kept for compatibility, can be replaced with NewCommitPathIterFromIter
func NewCommitFileIterFromIter(fileName string, commitIter CommitIter, checkParent bool) CommitIter {
return NewCommitPathIterFromIter(
func(path string) bool {