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
Merge pull request
#2403
from ddelpero/master
Update repo.go
for-closed-social
Unknwon
8 years ago
parent
98306a5d8a
7655337a1f
commit
a72f57374d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
routers/repo/repo.go
+ 1
- 1
routers/repo/repo.go
View File
@ -330,5 +330,5 @@ func Download(ctx *middleware.Context) {
}
}
ctx
.
ServeFile
(
archivePath
,
ctx
.
Repo
.
Repository
.
Name
+
"-"
+
base
.
ShortSha
(
commit
.
ID
.
String
(
)
)
+
ext
)
ctx
.
ServeFile
(
archivePath
,
ctx
.
Repo
.
Repository
.
Name
+
"-"
+
refName
+
ext
)
}
Write
Preview
Loading…
Cancel
Save