Browse Source

Merge pull request #2403 from ddelpero/master

Update repo.go
pull/2356/merge
Unknwon 9 years ago
parent
commit
a72f57374d
  1. 2
      routers/repo/repo.go

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