0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 08:06:49 -05: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)
}