Gentoo Archives: gentoo-dev

From: Alex Xu <alex_y_xu@×××××.ca>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones.
Date: Wed, 26 Feb 2014 12:40:04
Message-Id: 530DE097.3050400@yahoo.ca
In Reply to: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones. by "Michał Górny"
1 On 26/02/14 06:59 AM, Michał Górny wrote:
2 > Implementation-wise 'shallow' mode differs only when starting a new
3 > branch. In that case, '--depth 1' is used to avoid fetching earlier
4 > commits. Further updates are done through plain 'git fetch'.
5
6 So this fetches all a..b commits. If the package hasn't been updated in
7 a while, wouldn't this be less efficient than a new clone?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones. "Michał Górny" <mgorny@g.o>