How to use git
Lawrence Velázquez
larryv at macports.org
Sun Aug 21 15:28:26 PDT 2016
> On Aug 21, 2016, at 4:47 PM, Fred Wright <fw at fwright.net> wrote:
>
>> On Sat, 20 Aug 2016, Ian Wadham wrote:
>>
>> I don't know if this applies to Macports, but KDE did a lot of splitting of SVN
>> "module" repositories into individual project repositories on git. For example,
>> the KDE Games module on SVN went from one repository to about 40 repositories:
>> one for each game and library. This was to limit the overheads, for developers,
>> of cloning git repositories in their local machines, but it made building "everything"
>> (i.e. collections of repositories) a little harder.
>
> Given that git has the ability to make "shallow" clones (with the --depth
> argument), this doesn't seem like a very good reason to split things up
> and make nontrivial cloning *more* hassle.
Shallow clones only limit the depth of history you retrieve. You still have to fetch objects for the entire tree, while Subversion allows selective checkouts of subdirectories. Breaking up the repository can mitigate this limitation. (It's possible to have too many repositories, obviously.)
Our current migration plans are summarized here:
https://trac.macports.org/wiki/WorkingWithGit#reposplit
vq
More information about the macports-dev
mailing list