Merge pull request #2403 from ddelpero/master

Update repo.go
release/v1.15
Unknwon 2016-01-14 14:55:45 +08:00
commit a72f57374d
1 changed files with 1 additions and 1 deletions

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