This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
bug fixed
for-closed-social
Lunny Xiao
10 years ago
parent
dd6246877d
commit
bc1abb010d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/git.go
+ 1
- 1
models/git.go
View File
@ -51,7 +51,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
}
Write
Preview
Loading…
Cancel
Save