Browse Source

Merge pull request #2403 from ddelpero/master

Update repo.go
for-closed-social
Unknwon 8 years ago
parent
commit
a72f57374d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/repo.go

+ 1
- 1
routers/repo/repo.go 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)
}

Loading…
Cancel
Save