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
Fix missing-return bug (
#2109
)
for-closed-social
Ethan Koenig
7 years ago
committed by
Lunny Xiao
parent
310866525b
commit
2fd039864b
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modules/context/repo.go
+ 1
- 0
modules/context/repo.go
View File
@ -394,6 +394,7 @@ func RepoRef() macaron.Handler {
err
=
fmt
.
Errorf
(
"No branches in non-bare repository %s"
,
ctx
.
Repo
.
GitRepo
.
Path
)
ctx
.
Handle
(
500
,
"GetBranches"
,
err
)
return
}
refName
=
brs
[
0
]
}
Write
Preview
Loading…
Cancel
Save