From: Junio C Hamano Date: Mon, 08 Sep 2025 21:55:32 GMT Subject: Re: [PATCH v3 3/8] git: allow alias-shadowing deprecated builtins Message-ID: In-Reply-To: <20250908211141.GB1327610@coredump.intra.peff.net> Jeff King 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); > > } That was exactly what I had in mind. Thanks.