From 39b1964b68141c42055b8c64af06677f01119827 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 13 Apr 2026 16:18:05 +0000 Subject: [PATCH] fix: set git default branch to master in Dockerfile to suppress hint spam Tests that create temp git repos produce thousands of lines of "Using 'master' as the name for the initial branch" hints that bury actual test failures in agent output. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 076c484d..2cf89424 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -109,7 +109,8 @@ RUN groupadd -r huskies \ && chown -R huskies:huskies /usr/local/cargo /usr/local/rustup \ && chown -R huskies:huskies /app \ && mkdir -p /workspace/target /app/target \ - && chown huskies:huskies /workspace/target /app/target + && chown huskies:huskies /workspace/target /app/target \ + && git config --global init.defaultBranch master # ── Entrypoint ─────────────────────────────────────────────────────── # Validates required env vars (GIT_USER_NAME, GIT_USER_EMAIL) and