I remember I have read of a similar issue here, but I didn’t manage to find the right search string to find the thread, so sorry for a duplicate.
After messing with git commands, I deleted my whole dt build directory, and re-cloned it from github. Everything else worked fine, but my version number is now 8348a7c. I’m on Fedora Linux 37 (Workstation Edition).
[ 1%] Building el locale
[ 2%] Updating version string (git checkout)
[ 2%] Building de locale
[ 2%] Building da locale
fatal: No names found, cannot describe anything.
Version string: 8348a7c
1923 translated messages, 524 fuzzy translations, 608 untranslated messages.
[ 2%] Built target create_version_gen
3058 translated messages.
On darktable UI, it’s still that number (4.3.0+xxx…). See below:
I never really check how it was handle on Git build lines though but I think how it shown on the UI is more important than on Git lines (commit is a good and minimum thing for Git though).