mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Git-Trees API (#5403)
* Git-Trees API * update vendor'd libs * added comments to exported function and formatted. * make fmt * update per @lafirks feedback
This commit is contained in:
committed by
techknowlogick
parent
f17524bd0c
commit
d5d847e5c4
@@ -610,6 +610,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
m.Group("/git", func() {
|
||||
m.Get("/refs", repo.GetGitAllRefs)
|
||||
m.Get("/refs/*", repo.GetGitRefs)
|
||||
m.Combo("/trees/:sha", context.RepoRef()).Get(repo.GetTree)
|
||||
}, reqRepoReader(models.UnitTypeCode))
|
||||
}, repoAssignment())
|
||||
})
|
||||
|
Reference in New Issue
Block a user