Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 16:27:40 +0300
From:      Vasily Postnicov <shamaz.mazum@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>, Yuri Pankov <yuripv@yuripv.dev>,  Vasily Postnicov <shamaz.mazum@gmail.com>, Thomas Mueller <mueller6722@twc.com>, freebsd-questions@freebsd.org
Subject:   Re: Where can I find the new git repository?
Message-ID:  <CADnZ6B=KRKMUxFk=wTtuHBDiLfU6Y_dGUE9d-RVQc=gXHPX7Pg@mail.gmail.com>
In-Reply-To: <X%2BXmU5ChmB2Q7R%2BN@c720-r368166.fritz.box>
References:  <CADnZ6B=kwXjRMcg-vvunBN5Gms4dvK2XsO4E2qe_vWTXB%2B64Ew@mail.gmail.com> <5fe5917a.1c69fb81.b9a27.9006SMTPIN_ADDED_MISSING@mx.google.com> <CADnZ6Bm5Zt1ioyC_n=XciYOXY_uGfJtqLbiniAd-JtLM2PfEOA@mail.gmail.com> <8b1fbcaa-2e09-d2e4-03eb-1bbffcada788@yuripv.dev> <X%2BXmU5ChmB2Q7R%2BN@c720-r368166.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
> What I do not understand is the high number of objects 4249534 compared
with
the number of files in /usr/src

With git you clone the whole repository, not just the working tree.

=D0=BF=D1=82, 25 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3., 16:17 Matthias Apitz <gu=
ru@unixarea.de>:

> El d=C3=ADa viernes, diciembre 25, 2020 a las 02:57:52p. m. +0300, Yuri P=
ankov
> escribi=C3=B3:
>
> > > > You were close:
> > > >
> > > > git clone https://git.freebsd.org/doc.git
> > > > git clone https://git.freebsd.org/src.git
> > > >
> > > > You may have to set GIT_SSL_CAINFO if your certificates are not
> visible to
> > > > git:  I had to do that in NetBSD but not FreeBSD.
> >
> > Also, according to https://wiki.freebsd.org/git, work is in progress to
> > resume mirroring to external repos (github, gitlab, etc.), so you will =
be
> > able to use github's one when this is sorted out.
>
>
> I did as described in the howto:
> https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
>
> $ git clone -o freebsd --config
> remote.freebsd.fetch=3D'+refs/notes/*:refs/notes/*'
> https://git.freebsd.org/src.git freebsd-src
>
>
> Cloning into 'freebsd-src'...
> remote: Enumerating objects: 4249534, done.
> remote: Counting objects: 100% (4249534/4249534), done.
> remote: Compressing objects: 100% (829885/829885), done.
> Receiving objects:   1% (62919/4249534), 19.06 MiB | 401.00 KiB/s
> ...
>
> What I do not understand is the high number of objects 4249534 compared
> with
> the number of files in /usr/src (a SVN checkout of r368166):
>
> $ find /usr/src | wc -l
>   168673
>
> Thanks
>
>         matthias
>
> --
> Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> =D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0=
=B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=D0=
=BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=D0=
=B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=98=
=D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD)
> Without books no knowledge - without knowledge no communism (Vladimir
> Ilyich Lenin)
> Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich
> Lenin)
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADnZ6B=KRKMUxFk=wTtuHBDiLfU6Y_dGUE9d-RVQc=gXHPX7Pg>