Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 14:26:15 -0800
From:      John Kennedy <warlock@phouka.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        bob prohaska <fbsd@www.zefox.net>, Ronald Klop <ronald-lists@klop.ws>, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: HEADS UP: FreeBSD src repo transitioning to git this weekend
Message-ID:  <X%2BJyh8NOQ53pNHPi@phouka1.phouka.net>
In-Reply-To: <28028C56-7E5A-4961-8F09-36351CDDFF20@yahoo.com>
References:  <20201222183900.GA22353@www.zefox.net> <1249102000.16891.1608669265488@localhost> <20201222210628.GA34436@www.zefox.net> <19860CB5-716C-47A9-BB96-0EA16051DD9D@yahoo.com> <28028C56-7E5A-4961-8F09-36351CDDFF20@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Attributions are really confusing at this point...

On 2020-Dec-22, at 13:06, bob prohaska <fbsd at www.zefox.net> wrote:
> bob@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@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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X%2BJyh8NOQ53pNHPi>