From 4d974f0d44c9f6398fc9d46215a4572329f1fbd5 Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Wed, 12 Jul 2023 17:50:48 +0200
Subject: test: no need to pre-configure git, remove some warnings

---
 test/integration/docker/git_server/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'test/integration/docker/git_server/Dockerfile')

diff --git a/test/integration/docker/git_server/Dockerfile b/test/integration/docker/git_server/Dockerfile
index a33bce3..55b3362 100644
--- a/test/integration/docker/git_server/Dockerfile
+++ b/test/integration/docker/git_server/Dockerfile
@@ -4,6 +4,7 @@ RUN apk add -q --no-cache bash git openssh-server tini && \
     echo 'root:root' | chpasswd && \
     git config --global user.name 'John Doe' && \
     git config --global user.email 'John.Doe@example.com' && \
+    git config --global init.defaultBranch main && \
     sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
 
 WORKDIR /root
-- 
cgit v1.2.3