From bb0479526e419e1f61207daf6bea59132cec8459 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 14 Jan 2010 15:55:49 -0700 Subject: [PATCH] Public repositories get URL metadata via creation of cloneurl file. --- git-push-public | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-push-public b/git-push-public index 559f609..4a190dc 100755 --- a/git-push-public +++ b/git-push-public @@ -20,6 +20,8 @@ for path in $(find . -name git-daemon-export-ok); do ssh $PUBLICSERVER git --git-dir=$PUBLICBASE/$repo init --bare ssh $PUBLICSERVER touch $PUBLICBASE/$repo/git-daemon-export-ok scp $repo/description $PUBLICSERVER:$PUBLICBASE/$repo/ + ssh $PUBLICSERVER "echo \"git://$PUBLICSERVER/$repo\" \ + > $PUBLICBASE/$repo/cloneurl" fi git --git-dir=$repo push --mirror $PUBLICSERVER:$PUBLICBASE/$repo done -- 2.39.2