automatically adds a newline to patches that are missing one.
Signed-off-by: oppiliappan me@oppi.li
automatically adds a newline to patches that are missing one.
Signed-off-by: oppiliappan me@oppi.li
··················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.")······
··················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.")······
···
···
············
············
···························
···························