mirror of
https://github.com/go-gitea/gitea
synced 2025-07-06 02:27:20 +00:00
Backport #30877
This commit is contained in:
@ -178,7 +178,7 @@ func runServ(c *cli.Context) error {
|
||||
}
|
||||
|
||||
if len(words) < 2 {
|
||||
if git.CheckGitVersionAtLeast("2.29") == nil {
|
||||
if git.DefaultFeatures().SupportProcReceive {
|
||||
// for AGit Flow
|
||||
if cmd == "ssh_info" {
|
||||
fmt.Print(`{"type":"gitea","version":1}`)
|
||||
|
Reference in New Issue
Block a user