Re: [PATCH 2/2] builtin/init-db: deprecate alias for git-init(1)
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Jun 2, 2026, 13:12 UTC
- Message-ID
- <e6e225e7-f915-4ed0-900d-03a7767fb36f@gmail.com>
- In-Reply-To
- <ah7N5bKAiAORtNkp@pks.im>
On 02/06/2026 13:34, Patrick Steinhardt wrote:
Show 8 quoted lines
> > That's entirely fair. My take on this is a bit different, as I think > it's beneficial to accept a short-term adjustment for core contributors > in favor of making stuff easier to discover/maintain going forward. > > A new contributor would probably be quick to learn that every > `cmd_foo()` entry point is named exactly the same as the subcommand > name, but they will then eventually trip over the few exceptions like > `cmd_init_db()` where that assumption doesn't hold.
Yes, those exceptions to the rule are annoying. Though they mostly exist for a good reason (code sharing between builtin commands), it would be nice to minimize them where we can.
Thanks
Phillip