[Kde-scm-interest] scripty questions

Magnus Bergmark magnus.bergmark at gmail.com
Sat May 23 19:41:52 CEST 2009


2009/5/23 Chani <chanika at gmail.com>

> the only thing that might make it slow or bad for hte (git)
> server is if git makes it really hard to take only the doc folder from the
> repo.


It is not possible to do a partial clone of a repository since Git doesn't
work that way. Now, Git does have very good compression and if most of the
files there seldom changes, the bandwidth usage shouldn't really be a
problem.

If you really need to clone a specific directory, you have two solutions:
    1. Make the directory a separate repository and have it as a submodule
in the parent repository. Cons: Complex and not really easy to use.
    2. Don't use git for that directory; just fetch a tar.gz via HTTP. Cons:
Should be obvious. Not really a solution.

/me goes back to lurking.

-- 
Magnus Bergmark - magnus DOT bergmark AT gmail DOT com
GPG/PGP: 0x7BE84794DB6AA648
Fingerprint: 0E6F D2DB F0EF 534A 2184 52AF 7BE8 4794 DB6A A648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-scm-interest/attachments/20090523/6e5124a7/attachment.htm 


More information about the Kde-scm-interest mailing list