diff options
Diffstat (limited to 'services/pull/patch.go')
-rw-r--r-- | services/pull/patch.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/services/pull/patch.go b/services/pull/patch.go index 815263e898..96145fcd92 100644 --- a/services/pull/patch.go +++ b/services/pull/patch.go @@ -19,16 +19,6 @@ import ( "code.gitea.io/gitea/modules/log" ) -// DownloadDiff will write the patch for the pr to the writer -func DownloadDiff(pr *models.PullRequest, w io.Writer, patch bool) error { - return DownloadDiffOrPatch(pr, w, false) -} - -// DownloadPatch will write the patch for the pr to the writer -func DownloadPatch(pr *models.PullRequest, w io.Writer, patch bool) error { - return DownloadDiffOrPatch(pr, w, true) -} - // DownloadDiffOrPatch will write the patch for the pr to the writer func DownloadDiffOrPatch(pr *models.PullRequest, w io.Writer, patch bool) error { // Clone base repo. |