test_wad

Test the server's ability to publicly expose WAD files
git clone git://git.meso-star.fr/test_wad.git
Log | Files | Refs | README

commit 31667e9d47638f4222416ad7d456525c28bd3b37
parent 16beb372728d312eb3bc8a16173696e535916b56
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  5 Sep 2025 08:53:03 +0200

Add a git-wad configuration file

Use an rsync daemon if the repository was retrieved via the git protocol

Diffstat:
A.git_wad.cfg | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/.git_wad.cfg b/.git_wad.cfg @@ -0,0 +1,8 @@ +#!/bin/sh + +fetch_url="$(git config remote.origin.url)" +if echo "${fetch_url}" | grep -qe "^git://"; then + GIT_WAD_REMOTE_FETCH="$(echo "${fetch_url}" \ + | sed -e 's#^git://#rsync://#' \ + -e 's#/\([^/]\{1,\}\)$#/git/\1#')" +fi