Re: [PATCH 2/3] builtins: utilize startup_info->help where possible
From: Junio C Hamano <hidden> Date: 2016-06-15 22:49:49
Jonathan Nieder [off-list ref] writes:
In other words, I'm not sure startup_info->help is a good abstraction.
Maybe (modulo names) it would be better to do
struct startup_info {
...
const char *short_circuit; /* "-h", "--help-all", "--no-index", or NULL */
};
I am not sure short-circuit is a good abstraction either; will we have
only one aspect of whatever we can short-circuit forever?