Date: Wed, 20 Aug 2025 22:42:26 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: bob prohaska <fbsd@www.zefox.net> Cc: Marcin Cieslak <saper@saper.info>, freebsd-current@freebsd.org Subject: Re: uname -v does not report an n-number Message-ID: <86349liv2l.fsf@ltc.des.dev> In-Reply-To: <aKYWkfoAxT5gH252@www.zefox.net> (bob prohaska's message of "Wed, 20 Aug 2025 11:40:17 -0700") References: <aKXkWktKO1Obbfim@www.zefox.net> <8sr90302-s4s0-1nr6-p9o7-2p9rs5n1s7or@fncre.vasb> <aKYWkfoAxT5gH252@www.zefox.net>
index | next in thread | previous in thread | raw e-mail
bob prohaska <fbsd@www.zefox.net> writes: > [...] IIRC it's possible to "set a depth", could it be set to some > small number, like 1, 2 or maybe 3, so I get the N-number without all > the baggage? What you call “the N-number” is literally the depth of your repository. If you clone with --depth=5 then it will show up as 5. You can test it yourself with `git rev-list --first-parent --count HEAD`. A full clone is less than 3 GB, though, and if you're on ZFS, you can save quite a bit by making /usr/src and /usr/obj separate datasets and turning on compression. DES -- Dag-Erling Smørgrav - des@FreeBSD.orghelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86349liv2l.fsf>
