I'm taking hyman's advice and compiling from head 23.05, but mydiffconfig is v23.05.2.
I would like to git clone -b openwrt-23.05 instead. Is it possible to only correct that line?
I apologize for the confusion. My goal is to compile from head (since any new commits/fixed seem to land there), while still retaining my current diffconfig.
I understood from the O/P's post that they would likely find they were building from stable 23.05.2 based on their post. That's why i requested the return of git branch -a. I guess I should have used "should" instead of "likely'.
Correct me if I'm wrong, but once using the 23.05 Snapshot, git pull in the normal course of things would add those commits to his build and he could use ./scripts/diffconfig.sh to create a new default config.
Hynman’s git checkout openwrt-23.05 will put you at the Head of the 23.05 release.
If you do a git branch -a it should indicate * openwrt-23.05.
Now, if you do a git pull followed by a git log the first line displayed will indicate the latest commit since 23.05.2 was released and clearly indicate you are at the Head of the 23.05 release (I think of it as a Release Snapshot because it evolves and 23.05.1/23.05.2 as Stable/static based on their last commit at release) enter ‘q’ to exit the log.
If still on your 23.05.2 branch, do a git log and note the last commit. Once you move to the 23.05 Head, you can see that in the git log Head has advanced past the 23.05.2 release.
When you run make nconfig/menuconfig It should update your current .config.
Just like I wrote above: That will get you the HEAD of the openwrt-23.05 branch. (Not v23.05.0 or v23.05.2 tags)
Think it this way:
For each major release, a new release branch is created (e.g. openwrt-23.05 in May 2023), while the actual development always continues on the main/master branch.
Fixes are committed into the release branch. Some new stuff can be selectively backported, but not much as the branch is supposed to be "stable". So, largely the main OpenWrt contents in 23.05 remain as in May 2023.
If you build from the git HEAD of that branch (like you now want), you will get a "snapshot" build of that branch. Buildbot and private builds will show that as 23.05-SNAPSHOT
Fixed releases like 23.05.0 and 23.05.2 are made from that same 23.05 branch by creating a release tag like v23.05.2 which you can also checkout (like you originally did). And then build from that tag to "get the release".
Note that if you build
from branch HEAD, you will also the packages and LuCI feeds' newer fixes from their 23.05 branch HEADs.
from v23.05.2 release tag, also the feeds (packages, LuCI) are locked to the release moment, so your build will not have the fixed 23.05 stuff.
For that reason I always build my own 23.05 builds from the HEAD, not the antique fixed release point.