From: Junio C Hamano Date: Mon, 08 Sep 2025 20:47:57 GMT Subject: Re: [PATCH v3 3/8] git: allow alias-shadowing deprecated builtins Message-ID: In-Reply-To: kristofferhaugsbakk@fastmail.com 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?