Introduction
Introduction Statistics Contact Development Disclaimer Help
tpost-receive.sh: fix fetch of http bare repo - stagit - [fork] customized buil…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 4a4c9d316e3643219a7225668c955dd262d666fc
parent 2f7c96a6b73240a0bc6063e437df6bbd7ac069c3
Author: Anders Damsgaard <[email protected]>
Date: Sat, 28 Nov 2020 01:02:58 +0100
post-receive.sh: fix fetch of http bare repo
Diffstat:
M post-receive.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/post-receive.sh b/post-receive.sh
t@@ -73,7 +73,7 @@ stagit -c "${cachefile}" "${reposdir}/${r}"
# update bare repo for static http clone through alturl
(cd "${htmldir}" && cd "${r}.git" && \
- git fetch >/dev/null && git update-server-info)
+ git fetch origin +refs/heads/*:refs/heads/* --prune && git update-serv…
# disallow access to file and commit contents in parent robots.txt
if ! grep -q "Disallow: /${r}/" "${destdir}/robots.txt"; then
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.