Re: HEADS UP: FreeBSD src repo transitioning to git this weekend

From: John Kennedy <warlock_at_phouka.net>
Date: Tue, 22 Dec 2020 14:26:15 -0800
Attributions are really confusing at this point...

On 2020-Dec-22, at 13:06, bob prohaska <fbsd at www.zefox.net> wrote:
> bob_at_www:/usr % git clone cgit.freebsd.org -b stable/12 freebsd-src

On 2020-Dec-22, at 13:31, Mark Millard <marklmi at yahoo.com> wrote:
> I cloned FreeBSD's src.git via:
> git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' ssh://anongit_at_git.freebsd.org/src.git freebsd-src

  Bob, like mark, I replicated -CURRENT from git by:

	cd /usr/src
	git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' \
		anongit_at_git.FreeBSD.org:src.git .
	git config pull.ff only
	git pull -v

  Special callout...  that "-o freebsd" and the "--config remote.freebsd.fetch"
are related (changing the origin label), and if you don't have them in sync you
won't pull down the refs/notes, so you git logs won't have all the details and
some of the detailed info (rev, commit Id, total refs) won't show up normally.

  I don't think https was working when I initially tried, but this worked.
Received on Tue Dec 22 2020 - 21:27:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC