From: Junio C Hamano <hidden> Date: 2025-09-08 21:55:35
Jeff King [off-list ref] writes:
cmd_struct were not the right spots. OTOH, it would probably not be that
hard to just do:
static int is_deprecated_command(const char *cmd)
{
struct cmd_struct *builtin = get_builtin(cmd);
return builtin && (builtin->flags & DEPRECATED);
}