Where can I find the new git repository?
Vasily Postnicov
shamaz.mazum at gmail.com
Fri Dec 25 13:27:55 UTC 2020
> 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.
пт, 25 дек. 2020 г., 16:17 Matthias Apitz <guru at unixarea.de>:
> 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 at 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)
>
More information about the freebsd-questions
mailing list