Subject: Re: [PATCH v3 3/8] git: allow alias-shadowing deprecated builtins

From: Junio C Hamano <[email-masked]>
Date: Mon, 08 Sep 2025 13:47:57 -0700

[email-masked] writes:

> +static int is_deprecated_command(const char *cmd)
> +{
> +	return !strcmp(cmd, "whatchanged") ||
> +	       !strcmp(cmd, "pack-redundant");
> +}

This is somewhat a shame as you introduced the DEPRECATED bit to
annotate entries in "struct cmd_struct commands[]" array.  Shouldn't
this be moved to git.c and taught to consult that array instead?