Want to subscribe to topics you're interested in?
Become a Member

Stable Branch hide check_git_major_branch notice from compact dmotd mode in 132.00s…

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 20, 2026.

  1. eva2000

    eva2000 Administrator Staff Member

    59,481
    12,536
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,176
    Local Time:
    1:58 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    hide check_git_major_branch notice from compact dmotd mode in 132.00stable

    The "latest stable: X / latest beta: Y — URL" line was too wide for the
    80-col compact footer. gitenv_askupdate already names the user's
    current branch in the compact footer, so hiding the branch-relationship
    info there leaves no functional gap for compact users.

    Changes:
    - check_git_major_branch early-returns under DMOTD_COMPACT='y' so the
    line is never appended to the merged status footer
    - non-compact arm unchanged — still renders the verbose multi-line
    panel with aligned "Latest stable / Latest beta" labels and the
    per-branch forum URL
    - removed the now-unused _forum_url_short local (compact-only helper)


    Continue reading...

    132.00stable branch