mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 04:14:01 +01:00 
			
		
		
		
	fixed branch name
This commit is contained in:
		
							parent
							
								
									74859010d5
								
							
						
					
					
						commit
						f9024b3f43
					
				@ -563,7 +563,7 @@ func GetBranches(userName, reposName string) ([]string, error) {
 | 
			
		||||
 | 
			
		||||
	brs := make([]string, len(refs))
 | 
			
		||||
	for i, ref := range refs {
 | 
			
		||||
		brs[i] = ref.Name
 | 
			
		||||
		brs[i] = ref.BranchName()
 | 
			
		||||
	}
 | 
			
		||||
	return brs, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user