From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC4EC361675 for ; Tue, 2 Jun 2026 14:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780412325; cv=none; b=qNtF+z8iALZeW9jZPIEWmefX/8v5rcIVT1GCi0YODF4OaBaCwhhLLSVpAYKObGS4MxpygigtqrbgA7vLMxkjqm9wZz9fMnmy/guh5BHlBZIFmyIquAUosPtscw+DvKzRzZ3pRA2nXhC9kKOYWfX2PMzGVvez6SkUE3YM7UCOD3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780412325; c=relaxed/simple; bh=4E9fj69DBz1/Pb2wxMN5MB578of+ScgFtF/1JzSEymQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QV5y+V05G8zKMwiYRdc3d40jx5AkGz70AuL2D+34KJApJTM1zPkVpY1KteU9We8qRarHyzkw4bCjodI9De5bcr7WXSqJEavssdubnpJjxCJG0hBED4WLA3FCBPWqDJKr7y+7B3PdaaKJXp9wNtI4u8XTpYtFuWp+VDhbT310HOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=R66Q8olC; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Hi6bLNQF; arc=none smtp.client-ip=202.12.124.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="R66Q8olC"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Hi6bLNQF" Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id EF1E11D0018F; Tue, 2 Jun 2026 10:58:42 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Tue, 02 Jun 2026 10:58:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1780412322; x=1780498722; bh=0H7iJZhk/d 4DKdoGiqXEksfbTLa+3N2DZxUV7sFIAOo=; b=R66Q8olCjYctHsVfEYyWeRUjlg OTWTg1EZSzPI2c/wYr31Cy/yyChJ2F8UGheMbmnKwBwAQqv+1DmcrSupZPT0ecTo 9ySx0qNzobAF3p7cRPF+5jB6BIwTUNsL6YUb+iWvsSDWGFuEsnDif/ouXSw1yuIw +2I1+/Xby6UDzhDyssmUijKCmrYHR6VzcBq14V2vOVMRZcEBrvg2UkuokcTREFOx 6Uae4EyvxwJYolK4cdsa3UWnSV4k7RVaTo/zYgwJauJdCrIV/h5f7cjbFh+fvtLc hkFoJag5ZNLivy/g2zDQv4J5GvSsSWDfp2LY17IPDwM4anBt35zybLSPhv6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1780412322; x=1780498722; bh=0H7iJZhk/d4DKdoGiqXEksfbTLa+3N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dDAfIqeyvBzbzu2rFA X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Jun 2026 10:58:41 -0400 (EDT) Received: by mail (OpenSMTPD) with ESMTPSA id 5c68dfc5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 2 Jun 2026 14:58:40 +0000 (UTC) Date: Tue, 2 Jun 2026 16:58:37 +0200 From: Patrick Steinhardt To: phillip.wood@dunelm.org.uk Cc: Junio C Hamano , Kristoffer Haugsbakk , git@vger.kernel.org Subject: Re: [PATCH 2/2] builtin/init-db: deprecate alias for git-init(1) Message-ID: References: <276a92ac-b2cb-4a89-96d0-9071ab6200be@app.fastmail.com> <042e66b5-122b-4c86-a9a9-f75f763666a7@gmail.com> <2e266786-4ccd-4300-9b53-6f13fbaa2933@app.fastmail.com> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jun 02, 2026 at 02:12:58PM +0100, Phillip Wood wrote: > On 02/06/2026 13:34, Patrick Steinhardt wrote: > > > > 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. Either minimize, or if we don't want to (or can't) the next best thing is to pick the variant that most folks will know about. Which would be the case if we just picked the first patch in this series. Patrick