Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 14:17:07 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Yuri Pankov <yuripv@yuripv.dev>
Cc:        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:  <X%2BXmU5ChmB2Q7R%2BN@c720-r368166.fritz.box>
In-Reply-To: <8b1fbcaa-2e09-d2e4-03eb-1bbffcada788@yuripv.dev>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
El día viernes, diciembre 25, 2020 a las 02:57:52p. m. +0300, Yuri Pankov escribió:

> > > 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='+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, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин)
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?X%2BXmU5ChmB2Q7R%2BN>