diff options
Diffstat (limited to 'routers/web/repo/pull.go')
-rw-r--r-- | routers/web/repo/pull.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index e6d67f3fcc..1b15ea9a79 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -1345,8 +1345,9 @@ func DownloadPullDiffOrPatch(ctx *context.Context, patch bool) { } pr := issue.PullRequest + binary := ctx.FormBool("binary") - if err := pull_service.DownloadDiffOrPatch(pr, ctx, patch); err != nil { + if err := pull_service.DownloadDiffOrPatch(pr, ctx, patch, binary); err != nil { ctx.ServerError("DownloadDiffOrPatch", err) return } |