|
H.Merijn Brand |
at Aug 3, 2011 at 5:49 am
|
⇧ |
| |
On Wed, 03 Aug 2011 11:51:40 +1000, NormW wrote:On 3/08/2011 9:56 AM, Craig A. Berry wrote:On Tue, Aug 2, 2011 at 6:10 PM, NormWwrote:
Hi,
Have installed PortableGit on my Win box with a view to making some
diffs, but cannot identify which URL I need to use to get just the
needed blead tree an not a clone of the entire Perl source hard disk.
Welcome to git. The way it works is that you do in fact clone the
whole repository, not just one branch of it. Details here:
<
http://perl5.git.perl.org/perl.git/blob/HEAD:/pod/perlgit.pod>
Unfortunately have a 'budget' ISP account and no indication of how big
the perl HD is, so at alternate suggestion got perl-10654d5 snapshot and
provide here a diff of change suggested by NC to fix some no-return
warnings.
Getting *all* of perl git is almost just as expensive as getting just
the blead part. Tags and other references (branches) are just extremely
small pointers.
It's not only almost the same size, but getting *all* is probably also
a lot faster. I've tried twice in the past. Maybe newer git versions
show faster partly fetches, but it may as well be that it got worse
(compared to getting all).
tux:/pro/3gl/CPAN/perl-git 511 > git pull --all
Fetching origin
Already up-to-date.
tux:/pro/3gl/CPAN/perl-git 512 > du -hs .git .git/refs
181M .git
348K .git/refs
tux:/pro/3gl/CPAN/perl-git 513 >