Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 17:28:18 +0300
From:      Vasily Postnicov <shamaz.mazum@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>, Vasily Postnicov <shamaz.mazum@gmail.com>,  Yuri Pankov <yuripv@yuripv.dev>, Thomas Mueller <mueller6722@twc.com>, freebsd-questions@freebsd.org
Subject:   Re: Where can I find the new git repository?
Message-ID:  <CADnZ6BnzcDGOx2OeekSONV3__8OUp8zg1Vg2ZtZPEsJRfxUWdw@mail.gmail.com>
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
AFAIK, you can use git clone --depth 1 <repository> [<directory>] to limit
history to the last commit. You can compare your current tree to INDEX with
git diff. Also you can use the same command to print the difference between
commits, e.g. git diff master~10 master shows you changes made in the last
11 commits on master.

=D0=BF=D1=82, 25 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3. =D0=B2 16:56, Matthias Ap=
itz <guru@unixarea.de>:

> El d=C3=ADa viernes, diciembre 25, 2020 a las 04:27:40p. m. +0300, Vasily
> Postnicov escribi=C3=B3:
>
> > > What I do not understand is the high number of objects 4249534 compar=
ed
> >>  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)?
>
>         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?CADnZ6BnzcDGOx2OeekSONV3__8OUp8zg1Vg2ZtZPEsJRfxUWdw>