+18
-22
appview/pulls/pulls.go
+18
-22
appview/pulls/pulls.go
··················func (s *Pulls) handlePatchBasedPull(w http.ResponseWriter, r *http.Request, f *reporesolver.ResolvedRepo, user *oauth.User, title, body, targetBranch, patch string, isStacked bool) {······s.pages.Notice(w, "patch-error", "Invalid patch format. Please provide a valid git diff or format-patch.")······
+1
appview/state/router.go
+1
appview/state/router.go
+25
appview/validator/patch.go
+25
appview/validator/patch.go
···
+2
knotserver/xrpc/merge_check.go
+2
knotserver/xrpc/merge_check.go
+18
-7
patchutil/patchutil.go
+18
-7
patchutil/patchutil.go
············
+13
-12
patchutil/patchutil_test.go
+13
-12
patchutil/patchutil_test.go
···························