mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 14:25:02 +02:00
fixed branch name
This commit is contained in:
1 parent
74859010d5
commit
f9024b3f43
1 file changed
+1
-1
+1
-1
@@ -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