commit 0a81a2fac1b84fb5ee9870fafb3d62975eaf0f96
parent 2362fc8e586cfb631eef30db40529fbf54341651
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Sat, 11 Jul 2020 22:20:35 +0200
Add Git fetching through http
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/example_create.sh b/example_create.sh
@@ -50,6 +50,7 @@ for dir in "$reposdir/"*.git/; do
# symlinks
ln -sf log.html index.html
+ ln -sf "$reposdir/$r" ".git"
echo "done"
done
diff --git a/example_post-receive.sh b/example_post-receive.sh
@@ -58,6 +58,7 @@ cd "${destdir}/${d}" || exit 1
# make pages
stagit -c "${cachefile}" "${reposdir}/${r}"
ln -sf log.html index.html
+ln -sf "${dir}" .git
# make index
repos=""