Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 00:44:06 +0000
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   /usr/src Git --count (count of commits to the branch)
Message-ID:  <62accae5-1d15-cc5f-4438-dbf503af94cd@gmail.com>
In-Reply-To: <CAN6yY1vQg1qchoGuECb8smBzQxk9A12=MS0%2BRCMMg-vOnJeLHA@mail.gmail.com>
References:  <20210321165225.11fa1f5559373032ea629412@3dresearch.com> <CAN6yY1vQg1qchoGuECb8smBzQxk9A12=MS0%2BRCMMg-vOnJeLHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/03/2021 22:35, Kevin Oberman wrote:
> …
> Take a look at the newd git "Getting started" guide at
> https://docs.freebsd.org/en/articles/committers-guide/#git-primer. If you
> use a shallow clone, there is no easy way. If you have a full clone, you
> will have a hash starting with 'n' followed by 6 digits. This is a sequence
> count of commits to the relevant branch. In your case, the sequence is
> n244684.


FreeBSD: git --count result differs from the number in output from uname -v
<https://pastebin.com/P1avJGwz>;

I have seen differences more than once.

Can someone explain? Thanks.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62accae5-1d15-cc5f-4438-dbf503af94cd>