File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ func runServ(ctx context.Context, c *cli.Command) error {
212212 if git .DefaultFeatures ().SupportProcReceive {
213213 // for AGit Flow
214214 if cmd == "ssh_info" {
215- fmt .Print (`{"type":"gitea ","version":1}` )
215+ fmt .Print (`{"type":"agit ","version":1}` )
216216 return nil
217217 }
218218 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func SSHInfo(rw http.ResponseWriter, req *http.Request) {
2020 return
2121 }
2222 rw .Header ().Set ("content-type" , "text/json;charset=UTF-8" )
23- _ , err := rw .Write ([]byte (`{"type":"gitea ","version":1}` ))
23+ _ , err := rw .Write ([]byte (`{"type":"agit ","version":1}` ))
2424 if err != nil {
2525 log .Error ("fail to write result: err: %v" , err )
2626 rw .WriteHeader (http .StatusInternalServerError )
You can’t perform that action at this time.
0 commit comments