mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	fixed branch name
This commit is contained in:
		@@ -563,7 +563,7 @@ func GetBranches(userName, reposName string) ([]string, error) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	brs := make([]string, len(refs))
 | 
						brs := make([]string, len(refs))
 | 
				
			||||||
	for i, ref := range refs {
 | 
						for i, ref := range refs {
 | 
				
			||||||
		brs[i] = ref.Name
 | 
							brs[i] = ref.BranchName()
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return brs, nil
 | 
						return brs, nil
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user