From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00EE3C433DF for ; Sat, 13 Jun 2020 16:36:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C90C32074D for ; Sat, 13 Jun 2020 16:36:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="XbB9U2vC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbgFMQgZ (ORCPT ); Sat, 13 Jun 2020 12:36:25 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:50047 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbgFMQgY (ORCPT ); Sat, 13 Jun 2020 12:36:24 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id BDD7BD62E0; Sat, 13 Jun 2020 12:36:20 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=sx8qabD5LWYBLNf7INmHW97SEDs=; b=XbB9U2 vC91vL9bjwUpedwhcNn7bCwX+nUYCR3jTtjC+qIXkwsRM6bM0y6C06Pw+CrgDp06 g6acUy3vA8QDqXAAQgASntsb4xWsvshsKocld3YY4E7X38vDSBk6KEbpVzF16s+q +cm7WQmxAwjSZazPuVZaVSS6JhTAxkUpiGkCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=wdIPKnsj/LCYGSwDVT+qa4/2Aj/K3tMq VlSPiHbvESR5nQkBpEOjkiHokkKhe0/SmTP1OeVBJ95cF3FIP0WUbIwozp+BBzVh wu45hNDYDxpuQC/H98mt2VWFEWDVIEe7MAN9j0m1ohXLt3wDLvY+JfjZrjtiT0py MFbT9/6jFzY= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B615BD62DF; Sat, 13 Jun 2020 12:36:20 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.196.173.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 0BD81D62DE; Sat, 13 Jun 2020 12:36:17 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Nicholas Guriev Cc: git@vger.kernel.org Subject: Re: [PATCH] worktree: treat "list" as default command References: <202006130730.05D7UB99010559@dandelion.mymedia.su> Date: Sat, 13 Jun 2020 09:36:16 -0700 In-Reply-To: <202006130730.05D7UB99010559@dandelion.mymedia.su> (Nicholas Guriev's message of "Sat, 13 Jun 2020 10:14:21 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 0187270E-AD94-11EA-992F-B0405B776F7B-77302942!pb-smtp20.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Nicholas Guriev writes: > Perceive simple "git worktree" without a subcommand as "git worktree list" > for consistency with "git submodule" that already can work in such a way. "git branch" works the same way, and probably "git remote", too? "git config" doesn't work that way, though. Should it default to the list mode (rhetorical/tongue-in-cheek question---but it gives a hint for writing the justification to decide where to draw the line).