Add User-Agent for gitea's self-implemented lfs client. (branding)

This commit is contained in:
Earl Warren 2024-12-17 06:18:24 +01:00
parent 7ecbd4303e
commit 9283b03f3e
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -19,7 +19,7 @@ const (
// UserAgentHeader Add User-Agent for gitea's self-implemented lfs client, // UserAgentHeader Add User-Agent for gitea's self-implemented lfs client,
// and the version is consistent with the latest version of git lfs can be avoided incompatibilities. // and the version is consistent with the latest version of git lfs can be avoided incompatibilities.
// Some lfs servers will check this // Some lfs servers will check this
UserAgentHeader = "git-lfs/3.6.0 (Gitea)" UserAgentHeader = "git-lfs/3.6.0 (Forgejo)"
) )
// BatchRequest contains multiple requests processed in one batch operation. // BatchRequest contains multiple requests processed in one batch operation.