• src/build/gitinfo.bat

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Jul 13 21:37:59 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0d07fb8be31faeeb8fb49307
    Modified Files:
    src/build/gitinfo.bat
    Log Message:
    build: mark a dirty-tree build in gitinfo.bat too (Windows/MSVC)

    The Linux/CMake stampers learned to mark an uncommitted build ("~hash", and
    the BUILD time rather than the commit's); gitinfo.bat -- what release.bat runs for the MSVC build -- did not, so a Windows binary would have kept claiming to be a commit it isn't, and the two platforms would have disagreed about what a dirty build looks like.

    Same rule, same scope: TRACKED changes under src/ only (`--porcelain -uno -- :/src`), since untracked files would make every tree dirty and runtime- modified game data outside src/ has nothing to do with what compiled. `date` comes from the same Git-for-Windows usr/bin that already supplies the `tr`
    this script uses for git_branch.h.

    NOT RUN: there is no Windows here, so the batch itself is unexecuted. What is verified is the commands it issues -- from src/sbbs3, where release.bat
    invokes it, the `date` format strings emit lines byte-identical to the git
    ones they replace, and the `:/src` pathspec resolves correctly. The batch escaping (%% and \") follows the existing lines in the same file unchanged.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net