4 ms·
What got my attention was the "narrow cloning for greater security". Im really curious how they are managing to implement narrow cloning with git.
by mixologic 11y ago
What got my attention was the "narrow cloning for greater security". Im really curious how they are managing to implement narrow cloning with git.
- sytse 11y agoThey make a git repo out of a subdirectory of the Perforce repo.
- mataway 11y agoCommunity manager from Perforce here. Basically it's what Sytse said; we do bi-directional replication between a p4 server and a git repo. You can carve off any hunk of a p4 server and surface it as a git repo. What we've seen some people do is push a monorepo into a p4 server and then carve off smaller repos that are more tightly scoped. Everything still goes back into p4 though, so you can still get the benefits of a mono repo. The neat thing is that multiple git repos can consume the same pieces of a p4 server making code sharing between git repos seamless.