0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 23:06:19 +01:00

Merge pull request #2403 from ddelpero/master

Update repo.go
This commit is contained in:
Unknwon 2016-01-14 14:55:45 +08:00
commit a72f57374d

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