From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 6ED2B1F55F for ; Wed, 6 Sep 2023 18:08:51 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=khaugsbakk.name header.i=@khaugsbakk.name header.a=rsa-sha256 header.s=fm3 header.b=wA33I9Vt; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=eWUVN0cO; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243669AbjIFSIt (ORCPT ); Wed, 6 Sep 2023 14:08:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234088AbjIFSIs (ORCPT ); Wed, 6 Sep 2023 14:08:48 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 886AE1700 for ; Wed, 6 Sep 2023 11:08:45 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 7C0E332009FB; Wed, 6 Sep 2023 14:08:44 -0400 (EDT) Received: from imap49 ([10.202.2.99]) by compute6.internal (MEProxy); Wed, 06 Sep 2023 14:08:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khaugsbakk.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1694023724; x= 1694110124; bh=H497tnJqik+RtMt0oGBCTX3UF8OjbUne9GFZGmawX2k=; b=w A33I9VtBUVEg+eGJTpi46H9tWGHebeS19EgQ3lKxiMozDr3ySXFGFG1nICmiLE6r wloU0Jd9mIUqITG6x08WUG7xtZ7SwJnGqUx+9nmoWqBFuiBOh6ZT8kKN1jaFBP1I V5LZrXCIE+M/plELOgmTE1QccUtuyTzFJH0LkYQgrqwNoZoihzf8bsPTlLhpcZOW X3Pq4G0uuYrY52k3fS15DXwLqvVk1Vg56zOPhKLCf4b+r6jBrWfAvR9lc2mfHuTP 7naMnxvghR5IykW9AnEjiBVD3bsoNoYxe/fzpi/Ka6YEyuqE6EiSC/6O8OHeEjiW 729j1ic3AwWEjAYT3sW6Q== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1694023724; x=1694110124; bh=H497tnJqik+Rt Mt0oGBCTX3UF8OjbUne9GFZGmawX2k=; b=eWUVN0cO85IwwOgMfKqDiMrotZzTJ S4aQkluxHfAnFfkwkzQ7BG0epI+HuZjor30ptMZyyusObhTrYNTtsVJP1JPvlGt4 IAfTUDOTo2LHmUl4v8vmJHX7edqgfWAxELMoDlCHC0XVRNOP2wR77Hv34Rktt/Fa aALHgf9tuEYLoOOopNu0cGgGa95Kx8yRNa0MMFfNudeU73C7zM068m/8owNdKN5Y 3c58YX/4SR9cFcyI4zJs7X0H+R19iFAxic+wRuYoOMCDjggAFa2qyTXdjGZRLGcL tB4gwD79Fikjktyv48tr2WWgBEopZiteDFi87f0w7YAAutaZ/DlsJbhNQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdfm rhhishhtohhffhgvrhcujfgruhhgshgsrghkkhdfuceotghouggvsehkhhgruhhgshgsrg hkkhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpedtkedtjeeiffelteffheeiheeufffg heelueeftdejkeeufffgiefhgeekffffueenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpegtohguvgeskhhhrghughhssggrkhhkrdhnrghmvg X-ME-Proxy: Feedback-ID: i2671468f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5B42615A0091; Wed, 6 Sep 2023 14:08:43 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-711-g440737448e-fm-20230828.001-g44073744 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <2ba66542-9ae2-4b13-ae6b-f37dec6b72c7@app.fastmail.com> Date: Wed, 06 Sep 2023 20:08:22 +0200 From: "Kristoffer Haugsbakk" To: "Junio C Hamano" Cc: "Eric Sunshine" , "Tao Klerks" , "Johannes Schindelin" , "Taylor Blau" , "Patrick Steinhardt" , git Subject: Re: Is "bare"ness in the context of multiple worktrees weird? Bitmap error in git gc. Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Sep 6, 2023, at 19:52, Junio C Hamano wrote: > I wrote that "(i.e. bare repository)" in 2df5387e (glossary: > describe "worktree", 2022-02-09) but did not mean that way. > > A non-bare repository can reduce the number of its worktrees, but it > cannot go below one, because the directory with working tree files > and the .git/ subdirectory, i.e. its primary worktree, must exist > for it to be a non-bare repository. Consequently a repository with > zero worktree is by definition a bare repository. > > But that does not have to mean all bare repositories can have no > worktrees. I see. Zero worktrees implies bare repository, but bare repository does not imply zero worktrees. I got my logical connectives mixed up. Thanks -- Kristoffer Haugsbakk