diff options
author | Oscar Benedito <oscar@oscarbenedito.com> | 2020-07-11 22:20:35 +0200 |
---|---|---|
committer | Oscar Benedito <oscar@oscarbenedito.com> | 2020-07-30 12:44:18 +0200 |
commit | 0a81a2fac1b84fb5ee9870fafb3d62975eaf0f96 (patch) | |
tree | e8ef8d54406f3e225465b15959c66ba160e7a563 | |
parent | 2362fc8e586cfb631eef30db40529fbf54341651 (diff) |
Add Git fetching through http
-rwxr-xr-x | example_create.sh | 1 | ||||
-rwxr-xr-x | example_post-receive.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/example_create.sh b/example_create.sh index 33d8e64..845caf8 100755 --- 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 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="" |