···349349 s - split the current hunk into smaller hunks
350350 e - manually edit the current hunk
351351 p - print the current hunk
352352+ P - print the current hunk using the pager
352353 ? - print help
353354+
354355After deciding the fate for all hunks, if there is any hunk
+3-2
add-patch.c
···14161416 "/ - search for a hunk matching the given regex\n"
14171417 "s - split the current hunk into smaller hunks\n"
14181418 "e - manually edit the current hunk\n"
14191419- "p - print the current hunk, 'P' to use the pager\n"
14191419+ "p - print the current hunk\n"
14201420+ "P - print the current hunk using the pager\n"
14201421 "? - print help\n");
1421142214221423static size_t dec_mod(size_t a, size_t m)
···15471548 permitted |= ALLOW_EDIT;
15481549 strbuf_addstr(&s->buf, ",e");
15491550 }
15501550- strbuf_addstr(&s->buf, ",p");
15511551+ strbuf_addstr(&s->buf, ",p,P");
15511552 }
15521553 if (file_diff->deleted)
15531554 prompt_mode_type = PROMPT_DELETION;