From: martin Date: Fri, 02 Jul 2021 14:43:42 GMT Subject: Re: [PATCH 5/5] config: add default aliases Message-ID: <8f847f31-5c5d-0236-997c-bd07040f7ea7@mfriebe.de> In-Reply-To: <03ac01d76f4c$ad23a130$076ae390$@nexbridge.com> On 02/07/2021 16:15, Randall S. Becker wrote: > On July 2, 2021 9:42 AM, Ævar Arnfjörð Bjarmason wrote: >> So aside from the "are these aliases good idea?" discussion, would >> you prefer if they're implemented that we theat them the exact same >> way we do "git fsck-objects" and "git fsck"? I.e. list them twice in git.c, just pointing to the same cmd_fsck? > Without knowing the full history of why the duplication, yes. That would be my preference. If it is a git command, it should be handled like one as closely as possible. Presumably, it also would show up in git help -a. I would not expect aliases to show in help. > But, if it is a git command, can you still overwrite it with your on alias? As it was pointed out, some of those are used by people as aliases for other things already.