Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2020 12:00:57 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Vasily Postnicov <shamaz.mazum@gmail.com>
Cc:        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:  <X%2BcX6egJSEHI2u1c@c720-r368166.fritz.box>
In-Reply-To: <CADnZ6BnzcDGOx2OeekSONV3__8OUp8zg1Vg2ZtZPEsJRfxUWdw@mail.gmail.com>
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> <CADnZ6BnzcDGOx2OeekSONV3__8OUp8zg1Vg2ZtZPEsJRfxUWdw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día viernes, diciembre 25, 2020 a las 05:28:18p. m. +0300, Vasily Postnicov escribió:

> 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.

I did yesterday:

$ git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' --depth 1   https://git.freebsd.org/src.git freebsd-src

But when I do today:

$ cd freebsd-src
$ git diff

It does not show any diffs against the upstream head. I think, it does
not go even to Internet with this command. If I locally modify a file,
the diff is shown.

	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%2BcX6egJSEHI2u1c>