"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: Remote got repositories and small typo in man page
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 3 Dec 2020 22:00:10 +0100

Download raw body.

Thread
On Thu, Dec 03, 2020 at 09:32:21PM +0100, Christian Weisgerber wrote:
> Stefan Sperling:
> 
> > The idea is that you'll need one clone of the Git repository per machine.
> > I have a /git partition on most of my machines which I use to store
> > Git repositories. I used to do the same with a /cvs partition and
> > cvsync (nowadays, you would use reposync for CVS instead of cvsync).
> 
> And, like /cvs, you should be able to share Git repositories by NFS--
> although there are ever fewer reasons to do so, as disk capacity and
> network bandwidth keep outstripping repository growth.

Yes. I have some systems which check out Got work trees from Git repositories
mounted read-only via NFS, in order to make sure that this works.

I wouldn't recommend *writing* to repositories via NFS, because file renames
aren't atomic enough (it will generally work, until it breaks some day...)