fixed branch name

tokarchuk/v1.17
Lunny Xiao 11 years ago
parent 74859010d5
commit f9024b3f43
  1. 2
      models/repo.go

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

Loading…
Cancel
Save