···1093109310941094 // We've already checked earlier if it's diff-based and title is empty,
10951095 // so if it's still empty now, it's intentionally skipped owing to format-patch.
10961096- if title == "" {
10961096+ if title == "" || body == "" {
10971097 formatPatches, err := patchutil.ExtractPatches(patch)
10981098 if err != nil {
10991099 s.pages.Notice(w, "pull", fmt.Sprintf("Failed to extract patches: %v", err))
···11041104 return
11051105 }
1106110611071107- title = formatPatches[0].Title
11081108- body = formatPatches[0].Body
11071107+ if title == "" {
11081108+ title = formatPatches[0].Title
11091109+ }
11101110+ if body == "" {
11111111+ body = formatPatches[0].Body
11121112+ }
11091113 }
1110111411111115 rkey := tid.TID()