fixed branch name

release/v1.15
Lunny Xiao 2014-03-26 14:14:48 +08:00
parent 74859010d5
commit f9024b3f43
1 changed files with 1 additions and 1 deletions

View File

@ -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
}