[Kde-scm-interest] ideas to git conversion

Raul Fernandes rgfernandes at gmail.com
Thu Dec 4 14:21:21 CET 2008


> Thats why you do a clone with depth = 1, to only get the 20mb checkout instead
> of the 700Mb with full history.

The --depth=1 is not a good approach. This is from git documentation:

"--depth <depth>

    Create a shallow clone with a history truncated to the specified
number of revisions. A shallow repository has a number of limitations
(you cannot clone or fetch from it, nor push from nor into it), but is
adequate if you are only interested in the recent history of a large
project with a long history, and would want to send in fixes as
patches."

Some history is always good. How can I find what depth I should use??
What is depth I should use to get all history from 4.1 branch point to
current trunk (the 4.2 history)??
See my point??

> ps. you didn't reply to list. Not sure if thats intentional ;)

It wasn't intentional, but I fix it. Thanks.


Raul Fernandes
rgfernandes at gmail.com


More information about the Kde-scm-interest mailing list