mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-02 22:07:05 +09: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