Skip to content

Commit 3411891

Browse files
lunnywxiaoguang
andauthored
Update modules/lfs/shared.go
Co-authored-by: wxiaoguang <[email protected]>
1 parent 221934a commit 3411891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/lfs/shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
// UserAgentHeader Add User-Agent for gitea's self-implemented lfs client,
2323
// and the version is consistent with the latest version of git lfs can be avoided incompatibilities.
2424
// Some lfs servers will check this
25-
var UserAgentHeader = fmt.Sprintf("git-lfs/3.6.0 (Gitea; %s %s; %s)", runtime.GOOS, runtime.GOARCH, runtime.Version())
25+
var UserAgentHeader = "git-lfs/3.6.0 (Gitea)"
2626

2727
// BatchRequest contains multiple requests processed in one batch operation.
2828
// https://github.com/git-lfs/git-lfs/blob/main/docs/api/batch.md#requests

0 commit comments

Comments
 (0)