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. пт, 25 дек. 2020 г. в 16:56, Matthias Apitz <guru@unixarea.de>: > 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)? > > 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?CADnZ6BnzcDGOx2OeekSONV3__8OUp8zg1Vg2ZtZPEsJRfxUWdw>
