mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
Set RevCommit as as archiving target instead of RevTree
This commit is contained in:
@@ -696,7 +696,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
|
|||||||
|
|
||||||
git.archive
|
git.archive
|
||||||
.setFormat(suffix.tail)
|
.setFormat(suffix.tail)
|
||||||
.setTree(revCommit.getTree)
|
.setTree(revCommit)
|
||||||
.setOutputStream(response.getOutputStream)
|
.setOutputStream(response.getOutputStream)
|
||||||
.call()
|
.call()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user