mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Addresses Copilot review feedback on PR #4617. The Docker dev image's bind-mounted .git is host-owned while the romm-dev container runs as root; git 2.35.2+ refuses that mismatch as "dubious ownership" and rev-parse fails, so GIT_BRANCH silently stayed null and the UI kept showing "development" in the very workflow the mount was added for. Pass safe.directory scoped to this one read-only invocation instead of touching global git config. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TDMqXzXexRgC89YxeNjn9q