[gentoo-dev] [PATCH git-r3 07/10] Support shallow clones.

2014-02-26 Thread Michał Górny
This one's pretty similar to what we had before though a bit simpler. For one, we don't have the 'smart fetching' anymore since it was complex and unsafe. Implementation-wise 'shallow' mode differs only when starting a new branch. In that case, '--depth 1' is used to avoid fetching earlier

Re: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones.

2014-02-26 Thread Alex Xu
On 26/02/14 06:59 AM, Michał Górny wrote: Implementation-wise 'shallow' mode differs only when starting a new branch. In that case, '--depth 1' is used to avoid fetching earlier commits. Further updates are done through plain 'git fetch'. So this fetches all a..b commits. If the package hasn't

Re: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones.

2014-02-26 Thread Michał Górny
Dnia 2014-02-26, o godz. 07:39:51 Alex Xu alex_y...@yahoo.ca napisał(a): On 26/02/14 06:59 AM, Michał Górny wrote: Implementation-wise 'shallow' mode differs only when starting a new branch. In that case, '--depth 1' is used to avoid fetching earlier commits. Further updates are done