From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Omar Polo Newsgroups: gmane.emacs.devel Subject: Re: [elpa] New package: vc-got Date: Tue, 31 Aug 2021 16:38:35 +0200 Message-ID: <87sfypslvv.fsf@omarpolo.com> References: <87zgsx7v08.fsf@omarpolo.com> <83y28hsqtg.fsf@gnu.org> <87bl5dy9r8.fsf@omarpolo.com> <6ac8ff5c-bf61-0a17-91e3-a1b80322fcb2@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21978"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.5; emacs 28.0.50 Cc: Eli Zaretskii , timo.myyra@bittivirhe.fi, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 31 16:57:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL5D0-0005RL-8R for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Aug 2021 16:57:54 +0200 Original-Received: from localhost ([::1]:56050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL5Cx-0002pl-Is for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Aug 2021 10:57:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL5C7-00022h-1o for emacs-devel@gnu.org; Tue, 31 Aug 2021 10:56:59 -0400 Original-Received: from mail.omarpolo.com ([144.91.116.244]:52906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL5C5-0000M4-Gv; Tue, 31 Aug 2021 10:56:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omarpolo.com; s=20200327; t=1630421815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YKS4tEiZeivGuJnnIIDuoWK0N0F9MEEOfUr7kw7vskM=; b=glGUoKSHesGiyGXhKE8zoh1BREnNAoip/w4f5KR3q2m2SegtorxcWGkm6ia7+Gc1oMe9eZ dZCOl0Z49VxAzA4mUwIHNPg0mhcPV2JuLQe6hN2Bw+wyEzBy7h1UgSQ4iND9YxtZvtIDXe eUGOMKqDWCa1Y9/prZdhTEseGEluYpw= Original-Received: from localhost (host-79-50-237-28.retail.telecomitalia.it [79.50.237.28]) by mail.omarpolo.com (OpenSMTPD) with ESMTPSA id a2df4332 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 31 Aug 2021 16:56:55 +0200 (CEST) Original-Received: from venera (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 006b22df; Tue, 31 Aug 2021 16:56:52 +0200 (CEST) In-reply-to: <6ac8ff5c-bf61-0a17-91e3-a1b80322fcb2@yandex.ru> Received-SPF: pass client-ip=144.91.116.244; envelope-from=op@omarpolo.com; helo=mail.omarpolo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273601 Archived-At: Dmitry Gutov writes: > On 31.08.2021 17:00, Omar Polo wrote: >> All the code was written by people with a copyright assignment, and I'll >> ensure that this will hold true in the future, so if it becomes really >> popular we can always move it to core later, right? > > Yup. > >>> It's an alternative client for Git repositories, right? >>> >>> We already have vc-git. >> Yes and no. got uses the git format for*bare repositories* and in this >> sense it's always possible to switch back and forth from got and git and >> collaborate with other peoples. (in fact I'm using it to track the >> emacs repo on my machine). But Got it's not a Git porcelain, it is >> another VCS that happens to use the same format for storing >> commits/tags/branches. > > So you don't (and can't) use Git to commit or even init/clone/push? The two VCS can share the same bare repository, and can push/pull from the same remote. In this sense, they're interoperable. The usual workflow is to clone a bare repository (with either `got clone' or `git clone --bare'), then checkout it into a worktree with `got checkout' and start working. If you need to use git for a specific reason, you re-clone the repository (using git this time) and work with git. Then you can push/pull your changes etc. But the exact same worktree cannot be shared between git and got, they use different formats for that. > But can collaborate with others. It's an interesting tradeoff. > > Then yes, the decision should be based on what we know about its popularity.