mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 08:09:59 +01:00
api: minor changes to /repo/owner/repo/git/trees (#5982)
This commit is contained in:
@@ -274,7 +274,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
m.Get("/contents/*", repo.GetContents)
|
||||
m.Get("/archive/*", repo.GetArchive)
|
||||
m.Group("/git/trees", func() {
|
||||
m.Get("/:sha", context.RepoRef(), repo.GetRepoGitTree)
|
||||
m.Get("/:sha", repo.GetRepoGitTree)
|
||||
})
|
||||
m.Get("/forks", repo.ListForks)
|
||||
m.Group("/branches", func() {
|
||||
|
||||
Reference in New Issue
Block a user