1 |
Davyd McColl <davydm@×××××.com> wrote: |
2 |
> |
3 |
> 1) `sync-depth` has been deprecated (should now use `clone-depth`) |
4 |
|
5 |
The reason is that sync-depth was meant to be effective for |
6 |
every sync, i.e. that with sync-depth=1 the clone should stay shallow. |
7 |
However, it turned out that this caused frequent/occassional errors |
8 |
with git syncing when earlier chunks are needed. |
9 |
So they decided to drop this, and the value is only used for the |
10 |
initial cloning and ignored from then on. Due to this change of |
11 |
effect, it has been renamed. |
12 |
|
13 |
> 2) with the option missing, portage was fetching the entire history |
14 |
|
15 |
Yes, but even with this option, your history will fill up over time. |
16 |
Only the initial cloning will go faster and need less space. |
17 |
|
18 |
> 2) I believe that the original intent of defaulting to a shallow clone was |
19 |
> a good idea |
20 |
|
21 |
Due to the point mentioned above, this is not very useful anymore. |
22 |
Moreover, now that full checksumming is supported for rsync, the only |
23 |
advantage of using git is that you get the history (in particular |
24 |
ChangeLogs). |