Current-Users archive

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

Re: github.com/NetBSD/src 5 days old?





On 18/05/2020 14:03, matthew sporleder wrote:

If you want small and fast you can use shallow clone and, although you
get the entire tree's bundle, it is small and fast.
You can then use --sparse to build a "sparse" (kernel only or
whatever) limited checkout (aka working dir) -- (new git feature--
https://git-scm.com/docs/git-sparse-checkout  /
https://git-scm.com/docs/git-read-tree#_sparse_checkout  ) / I don't
know about mercurial's version of this

Its also not worth getting too hung up on small systems being able to check out the source code. Given the memory hog that is GCC these days chances are if you can't check out the source tree you probably can't compile it anyway as GCC will need more memory than your system has.

Mike


Home | Main Index | Thread Index | Old Index