Date: Thu, 24 Dec 2020 15:41:11 +0000 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-current@freebsd.org Subject: Git commits/revisions: sequential numbering: git-rev-list(1) --count Message-ID: <f3bd0a8b-6e05-2b01-a673-9e62f32996bd@gmail.com> In-Reply-To: <54116640-E6A1-4C53-9D7E-4384F942628E@ellael.org> References: <54116640-E6A1-4C53-9D7E-4384F942628E@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/12/2020 14:11, Michael Grimm wrote: > … Disclaimer: I just started to learn git, never used it before. > > If I do understand it correctly, the switch from svn to git comes with a loss of continuously increasing revision numbers. Correct? … Yes and no. <https://old.reddit.com/comments/keme3b/-/ggs61in/?context=1> there's an example command that shows a FreeBSD-CURRENT Git revision number of 11 following an update. The phrase 'revision number' might be not technically accurate, but the numbers _are_ sequential. The command uses the '--count' option of git-rev-list(1) <https://www.freebsd.org/cgi/man.cgi?query=git-rev-list&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports> Re: uname(1), I'll respond to your second e-mail. Kind regards Graham
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f3bd0a8b-6e05-2b01-a673-9e62f32996bd>