From b565d26d1f3a7738b851dcfd91ddd802e36c3f33 Mon Sep 17 00:00:00 2001 From: mediocregopher <> Date: Sun, 16 Feb 2020 13:46:21 -0700 Subject: [PATCH] actually set the default branch to trunk in the http-server, forgot to add the changes >_< message: actually set the default branch to trunk in the http-server, forgot to add the changes >_< change_hash: AFwqLk4zNKcxco1FPxpg6YwDlubszqfAiua4fJ8MQffU credentials: - type: pgp_signature pub_key_id: 95C46FA6A41148AC body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl5Jqh0ACgkQlcRvpqQRSKz0oQ/9GsiL8sd4qsafzEg0HNT11xCEDqaNpKf/fRwE9F3BfSbiie39qyXWObdvCXfU0EcdH/PSBCPp6vXc6GR6aWvWoZX3FayMfj8mWh0X8ILGxT2f4PM47HdzLaAPpcwhGicaXOuMhcs0TuXPqeJjJVDZwsp7osCe39bnI5qk5gSERI3n3OKOT3G3eXGXHyImN8zcOmD+2zZF9RdcgsMZGiPIKp37z7GMYTjIRi+EGAgyjlJYSy2G+msUZW+4zVBSJZNT7m+2SojDn+gyoxJ9BgWEv0RqH+J5WzagwcDlXQufAztmEkTNNQyEv/V4UrIbO2SkJQ+BpdV6XsZtHVFpsU/qBntEfofzmVq4qsonEcCoC+O5IbGMupayuirSia0hvtKYjIVYKPwAS3fkIjykDrSvfQUZBG1eJNlUaW7vZbDCfx8utFrwQMjnO61+iZPFqye9lNvHcxbchTtYwVgbh57wda/HQRR1w+r1tNh9cvCSUkff0IiJMyl74STYETa3lUo6O+sFlnIQvCpOM3zN7vUrKH7LFL8WY4QZFkoeN1o0yV4gOQUXDcj/q+C+waxPsQTQHLDPiAxMlKP0e+78xAFJfoe2/4SNNGufVA0YD9Q8eLJQ3cHshKPKKTKUlP2Q/4TesFHAjRdefyhPc4xWgF4xLNK1SuXIe/pc1pMg3yHkZjE= account: mediocregopher --- cmd/http-server/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/http-server/start.sh b/cmd/http-server/start.sh index 720f0ae..7158211 100644 --- a/cmd/http-server/start.sh +++ b/cmd/http-server/start.sh @@ -74,6 +74,7 @@ while [ ! -z "$1" ]; do git init --bare "$dir" git config -f "$dir/config" http.receivepack true git config -f "$dir/config" receive.denyNonFastForwards true + git symbolic-ref HEAD refs/heads/trunk chown -R git:git "$dir" fi