+5
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
+5
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
+4
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
+4
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
+2
-2
appview/state/pull.go
+2
-2
appview/state/pull.go
···
860
860
}
861
861
862
862
if patchutil.IsFormatPatch(patch) {
863
-
s.pages.Notice(w, "patch-preview", "Format patch detected. Title and description are optional; if left out, they will be extracted from the first commit.")
863
+
s.pages.Notice(w, "patch-preview", "git-format-patch detected. Title and description are optional; if left out, they will be extracted from the first commit.")
864
864
} else {
865
-
s.pages.Notice(w, "patch-preview", "Regular diff detected. Please provide a title and description.")
865
+
s.pages.Notice(w, "patch-preview", "Regular git-diff detected. Please provide a title and description.")
866
866
}
867
867
}
868
868