mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							3d91bb2f2d
						
					
				
				
					commit
					ecefa9e724
				
			@@ -617,6 +617,9 @@ func RegisterRoutes(m *macaron.Macaron) {
 | 
			
		||||
					m.Get("/statuses", repo.GetCommitStatusesByRef)
 | 
			
		||||
				}, reqRepoReader(models.UnitTypeCode))
 | 
			
		||||
				m.Group("/git", func() {
 | 
			
		||||
					m.Group("/commits", func() {
 | 
			
		||||
						m.Get("/:sha", repo.GetSingleCommit)
 | 
			
		||||
					})
 | 
			
		||||
					m.Get("/refs", repo.GetGitAllRefs)
 | 
			
		||||
					m.Get("/refs/*", repo.GetGitRefs)
 | 
			
		||||
					m.Combo("/trees/:sha", context.RepoRef()).Get(repo.GetTree)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user