Re: [PATCH] revisions: refactor handle_revision_opt into parse_revision_opt. From: Junio C Hamano <hidden> Date: 2016-06-15 22:44:55 Jeff King [off-list ref] writes: but it also seems like the top bit of that for loop is boilerplate, too: quoted for (;;) { switch (parse_options_step(&ctx, options, shortlog_usage)) { case PARSE_OPT_HELP: exit(129); case PARSE_OPT_DONE: goto parse_done; } Another thing we should be able to refactor is the option help formatter. Cf. 071438a (Teach git-merge -X<option> again., 2008-07-09)
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help