emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] New package: vc-got


From: Omar Polo
Subject: Re: [elpa] New package: vc-got
Date: Tue, 31 Aug 2021 16:38:35 +0200
User-agent: mu4e 1.6.5; emacs 28.0.50

Dmitry Gutov <dgutov@yandex.ru> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]