Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/git/log/log.go')
-rw-r--r--internal/git/log/log.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/git/log/log.go b/internal/git/log/log.go
index 6081a43d7..462a9ed55 100644
--- a/internal/git/log/log.go
+++ b/internal/git/log/log.go
@@ -7,7 +7,6 @@ import (
"io"
"gitlab.com/gitlab-org/gitaly/internal/git/catfile"
- "gitlab.com/gitlab-org/gitaly/internal/storage"
"gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
)
@@ -23,8 +22,8 @@ type Parser struct {
}
// NewLogParser returns a new Parser
-func NewLogParser(ctx context.Context, locator storage.Locator, repo *gitalypb.Repository, src io.Reader) (*Parser, error) {
- c, err := catfile.New(ctx, locator, repo)
+func NewLogParser(ctx context.Context, repo *gitalypb.Repository, src io.Reader) (*Parser, error) {
+ c, err := catfile.New(ctx, repo)
if err != nil {
return nil, err
}