mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-23 16:15:51 +01:00
8a9fd7f771
Fixes #17554 /claim #17554 Docs PR https://gitea.com/gitea/docs/pulls/49 To test, run pushes like: `GIT_TRACE=1` git push. The trace output should mention "pure SSH connection".
22 lines
441 B
Go
22 lines
441 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package lfstransfer
|
|
|
|
import (
|
|
"github.com/charmbracelet/git-lfs-transfer/transfer"
|
|
)
|
|
|
|
var _ transfer.Logger = (*GiteaLogger)(nil)
|
|
|
|
// noop logger for passing into transfer
|
|
type GiteaLogger struct{}
|
|
|
|
func newLogger() transfer.Logger {
|
|
return &GiteaLogger{}
|
|
}
|
|
|
|
// Log implements transfer.Logger
|
|
func (g *GiteaLogger) Log(msg string, itms ...any) {
|
|
}
|