+6
-3
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
+6
-3
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
······
+7
-1
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
+7
-1
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
······
+59
-61
appview/pages/templates/repo/pulls/new.html
+59
-61
appview/pages/templates/repo/pulls/new.html
···-class="p-1 border border-gray-200 bg-white dark:bg-gray-700 dark:text-white dark:border-gray-600"+class="p-1 border border-gray-200 bg-white dark:bg-gray-700 dark:text-white dark:border-gray-600"
+24
-9
appview/state/pull.go
+24
-9
appview/state/pull.go
······s.pages.Notice(w, "pull", "This knot doesn't support branch-based pull requests. Try another way?")s.pages.Notice(w, "pull", "This knot doesn't support fork-based pull requests. Try another way?")+s.handleForkBasedPull(w, r, f, user, fromFork, title, body, targetBranch, sourceBranch, isStacked)s.pages.Notice(w, "pull", "This knot doesn't support patch-based pull requests. Send your patch over email.")-func (s *State) handleBranchBasedPull(w http.ResponseWriter, r *http.Request, f *FullyResolvedRepo, user *oauth.User, title, body, targetBranch, sourceBranch string) {···-s.createPullRequest(w, r, f, user, title, body, targetBranch, patch, sourceRev, pullSource, recordPullSource)+s.createPullRequest(w, r, f, user, title, body, targetBranch, patch, sourceRev, pullSource, recordPullSource, isStacked)-func (s *State) handlePatchBasedPull(w http.ResponseWriter, r *http.Request, f *FullyResolvedRepo, user *oauth.User, title, body, targetBranch, patch string) {+func (s *State) handlePatchBasedPull(w http.ResponseWriter, r *http.Request, f *FullyResolvedRepo, user *oauth.User, title, body, targetBranch, patch string, isStacked bool) {-func (s *State) handleForkBasedPull(w http.ResponseWriter, r *http.Request, f *FullyResolvedRepo, user *oauth.User, forkRepo string, title, body, targetBranch, sourceBranch string) {+func (s *State) handleForkBasedPull(w http.ResponseWriter, r *http.Request, f *FullyResolvedRepo, user *oauth.User, forkRepo string, title, body, targetBranch, sourceBranch string, isStacked bool) {···s.createPullRequest(w, r, f, user, title, body, targetBranch, patch, sourceRev, &db.PullSource{···