summaryrefslogtreecommitdiff
path: root/example_post-receive.sh
diff options
context:
space:
mode:
authorOscar Benedito <oscar@oscarbenedito.com>2020-07-11 22:20:35 +0200
committerOscar Benedito <oscar@oscarbenedito.com>2020-07-30 12:44:18 +0200
commit0a81a2fac1b84fb5ee9870fafb3d62975eaf0f96 (patch)
treee8ef8d54406f3e225465b15959c66ba160e7a563 /example_post-receive.sh
parent2362fc8e586cfb631eef30db40529fbf54341651 (diff)
Add Git fetching through http
Diffstat (limited to 'example_post-receive.sh')
-rwxr-xr-xexample_post-receive.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/example_post-receive.sh b/example_post-receive.sh
index c6778a3..46eb898 100755
--- 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=""