Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> writes: > Refactor the API between builtin/commit.c and wt-status.[ch]. > Hide details of the various wt_*status_print() routines inside > wt-status.c behind a single (new) wt_status_print() routine > and eliminate the switch statements from builtin/commit.c > > This will allow us to more easily add new status formats > and isolate that within wt-status.c > > Signed-off-by: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> > --- The division of labour between wt-status.c and cmd_status() that was originally envisioned was to have status computation in the former and presentation in the latter, but that was broken and more output is made from the latter these days, so I think it may make sense to admit that the original vision did not work out well, and this step is a good move forward to shift the boundary. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html