FAQ
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.

Thx.
Norm

Search Discussions

  • Craig A. Berry at Aug 2, 2011 at 11:57 pm

    On Tue, Aug 2, 2011 at 6:10 PM, NormW wrote:
    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>
  • NormW at Aug 3, 2011 at 1:52 am

    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.
    HTH,
    Norm
  • 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 >
    HTH,
    Norm

    --
    H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
    using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00,
    11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3.
    http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
    http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedAug 2, '11 at 11:11p
activeAug 3, '11 at 5:49a
posts4
users3
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase