Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 14:22:39 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Cc:        Matthias Apitz <guru@unixarea.de>
Subject:   Re: Where can I find the new git repository?
Message-ID:  <20201225142239.e0e75066c72227ddf0751b6f@sohara.org>
In-Reply-To: <X%2BXvmFpGdw9iReU%2B@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> <CADnZ6B=KRKMUxFk=wTtuHBDiLfU6Y_dGUE9d-RVQc=gXHPX7Pg@mail.gmail.com> <X%2BXvmFpGdw9iReU%2B@c720-r368166.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 25 Dec 2020 14:56:40 +0100
Matthias Apitz <guru@unixarea.de> wrote:

> El día viernes, diciembre 25, 2020 a las 04:27:40p. m. +0300, Vasily
> Postnicov escribió:
> 
> > > 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.
> 
> Is there an option for git to get only the current working tree to
> compile it? And how could I compare later with the current tree (like a
> svn diff ....
> does)?

	There's --single-branch and --depth to control how much of the
repository you get which is great for pulling a minimal build set, but you
can only compare the history you have so it is generally best to clone the
whole thing if you are planning on doing development.

-- 
Steve O'Hara-Smith <steve@sohara.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201225142239.e0e75066c72227ddf0751b6f>