Fix download archiver of a commit (#20962)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2022-08-26 15:07:06 +02:00
1 parent 6c4688e1b1
commit b0c62846f1
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -987,6 +987,7 @@ func RepoRefByType(refType RepoRefType, ignoreNotExistErr ...bool) func(*Context
}
ctx.Data["BranchName"] = ctx.Repo.BranchName
ctx.Data["RefName"] = ctx.Repo.RefName
ctx.Data["BranchNameSubURL"] = ctx.Repo.BranchNameSubURL()
ctx.Data["TagName"] = ctx.Repo.TagName
ctx.Data["CommitID"] = ctx.Repo.CommitID