Re: Finding git commit corresponding to 13.2-RELEASE-p3

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 24 Sep 2023 19:16:36 UTC
Colin S. Gordon <csgordon_at_fastmail.com> wrote on
Date: Sun, 24 Sep 2023 17:41:30 UTC :

> I'm trying to debug sleep on my laptop, but have run into trouble reproducing the problem with a locally-built kernel, which I suspect is an issue of me not getting the right version of the source for what's currently running. 
> 
> Can anyone point me in the right direction for what commit 13.2-RELEASE-p3 was built from?


See:

https://cgit.freebsd.org/src/log/?h=releng/13.2

and its commits with "bump version" or the like in
the description. In this case, currently the most
recent commit is for -p3 :

https://cgit.freebsd.org/src/commit/?h=releng/13.2&id=a1c915cc75c1b3c66e16bb52579e2abdf122eccb

It includes the change (leading whitespace might not
be preserved):

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 85d2cb24a37c..31ce004e1417 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -54,7 +54,7 @@
 
 TYPE="FreeBSD"
 REVISION="13.2"
-BRANCH="RELEASE-p2"
+BRANCH="RELEASE-p3"
 if [ -n "${BRANCH_OVERRIDE}" ]; then
 	BRANCH=${BRANCH_OVERRIDE}
 fi

Looking at the releng/13.2 branch at around where the
sys/conf/newvers.sh changed normally lets you find the
commit used to build the 13.2-RELEASE-p? of interest,
typically at the commit of the sys/conf/newvers.sh
change itself, but possibly at something just after
on that same branch if a last minute handling of an
issue came up and was adjusted for.

===
Mark Millard
marklmi at yahoo.com