From nobody Wed May 7 18:03:21 2025 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zt38B0Kdkz5wYJG for ; Wed, 07 May 2025 18:05:14 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zt3882FLYz3CN3 for ; Wed, 07 May 2025 18:05:12 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of naddy@mips.inka.de designates 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c as permitted sender) smtp.mailfrom=naddy@mips.inka.de; dmarc=none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1uCj8i-006phz-6T; Wed, 07 May 2025 20:05:04 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.18.1/8.18.1) with ESMTP id 547I3L9c030970 for ; Wed, 7 May 2025 20:03:21 +0200 (CEST) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.18.1/8.18.1/Submit) id 547I3Lvd030969 for freebsd-git@freebsd.org; Wed, 7 May 2025 20:03:21 +0200 (CEST) (envelope-from naddy) Date: Wed, 7 May 2025 20:03:21 +0200 From: Christian Weisgerber To: freebsd-git@freebsd.org Subject: Re: got(1) in base consideration Message-ID: References: <9f48a955-5f8a-450c-94c1-2a7d9d69ecb9@FreeBSD.org> <2029663.vslOlgHxSZ@ravel> <86plgku1ow.fsf@ltc.des.dev> <4182725.BRNeRiNLvY@ravel> List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4182725.BRNeRiNLvY@ravel> X-Rspamd-Queue-Id: 4Zt3882FLYz3CN3 X-Spamd-Bar: / X-Spamd-Result: default: False [0.59 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; NEURAL_SPAM_MEDIUM(0.88)[0.876]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FREEFALL_USER(0.00)[naddy]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-git@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[inka.de]; FROM_HAS_DN(0.00)[] Olivier Certner: > Actually, I've been using worktrees for a long time with bare repositories, where there is no "first"/privileged worktree that has a real '.git' directory, which IMO is much more natural and has the advantage of avoiding foot-shooting if one day you decide to remove some worktree that unfortunately was the main one. That's exactly how Got works. It always clones a bare repository, and you can check out worktrees at will. Generally speaking, Got uses the Git repository format and network protocol. It interops with Git. Beyond that, there is no particular similarity. -- Christian "naddy" Weisgerber naddy@mips.inka.de