+5
appview/state/pull.go
+5
appview/state/pull.go
···
670
670
return
671
671
}
672
672
673
+
if !caps.PullRequests.FormatPatch {
674
+
s.pages.Notice(w, "pull", "This knot doesn't support format-patch. Unfortunately, there is no fallback for now.")
675
+
return
676
+
}
677
+
673
678
// Handle the PR creation based on the type
674
679
if isBranchBased {
675
680
if !caps.PullRequests.BranchSubmissions {
+1
knotserver/routes.go
+1
knotserver/routes.go