Merge pull request #2403 from ddelpero/master

Update repo.go
tokarchuk/v1.17
Unknwon 9 years ago
commit a72f57374d
  1. 2
      routers/repo/repo.go

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

Loading…
Cancel
Save