File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 77 "net/http"
88 "path/filepath"
99
10- "github.com/go-git/go-billy/v5 /osfs"
10+ "github.com/go-git/go-billy/v6 /osfs"
1111 githttp "github.com/go-git/go-git/v6/backend/http"
1212 "github.com/go-git/go-git/v6/plumbing/transport"
1313 "github.com/spf13/cobra"
@@ -38,10 +38,7 @@ var rootCmd = &cobra.Command{
3838 log .Printf ("Using absolute path: %q" , abs )
3939 logger := log .Default ()
4040 loader := transport .NewFilesystemLoader (osfs .New (abs , osfs .WithBoundOS ()), false )
41- gitmw := githttp .NewBackend (loader , & githttp.BackendOptions {
42- ErrorLog : logger ,
43- Prefix : prefix ,
44- })
41+ gitmw := githttp .NewBackend (loader )
4542
4643 handler := LoggingMiddleware (logger , gitmw )
4744 log .Printf ("Starting server on %q for directory %q" , addr , directory )
You can’t perform that action at this time.
0 commit comments