[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] [PATCH git-r3 07/10] Support shallow clones.
From: Michał Górny <mgorny () gentoo ! org>
Date: 2014-02-26 12:47:17
Message-ID: 20140226134717.32ab5096 () pomiot ! lan
[Download RAW message or body]
Dnia 2014-02-26, o godz. 07:39:51
Alex Xu <alex_y_xu@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 through plain 'git fetch'.
>
> So this fetches all a..b commits. If the package hasn't been updated in
> a while, wouldn't this be less efficient than a new clone?
In a few rare cases, yes, that could happen. Though we can't really
estimate or guess that :).
If user suspects that, he can always remove the local repository
and let the eclass re-fetch it. I doubt we can do more than that.
--
Best regards,
Michał Górny
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic