URI:
       set defaults in example hooks - stagit-gopher - [fork] static git page generator for gopher
  HTML git clone https://git.drkhsh.at/stagit-gopher.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit efbbc59ca57e726d7944a71167b94f0b7be0f633
   DIR parent cb12dce290708f6fd1bee7255d7e09e799f9f495
  HTML Author: drkhsh <me@drkhsh.at>
       Date:   Sat, 19 Jul 2025 03:32:26 +0200
       
       set defaults in example hooks
       
       Diffstat:
         M example_create.sh                   |       2 +-
         M example_post-receive.sh             |       8 ++++----
       
       2 files changed, 5 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/example_create.sh b/example_create.sh
       @@ -12,7 +12,7 @@
        # - sh example_create.sh
        
        # path must be absolute.
       -reposdir="/var/scm/git"
       +reposdir="/var/www/git"
        gopherdir="/var/gopher"
        stagitdir="/scm"
        destdir="${gopherdir}/${stagitdir}"
   DIR diff --git a/example_post-receive.sh b/example_post-receive.sh
       @@ -19,10 +19,10 @@ fi
        
        # config
        # paths must be absolute.
       -reposdir="/home/src/src"
       +reposdir="/var/www/git"
        dir="${reposdir}/${name}"
       -gopherdir="/home/www/gopher"
       -stagitdir="/"
       +gopherdir="/var/gopher"
       +stagitdir="/scm"
        destdir="${gopherdir}/${stagitdir}"
        cachefile=".gphcache"
        # /config
       @@ -68,7 +68,7 @@ stagit-gopher-index -b "${stagitdir}" "${reposdir}/"*.git/ > "${destdir}/index.g
        
        # make pages.
        stagit-gopher -b "${stagitdir}/${d}" -c "${cachefile}" \
       -        -u "gopher://codemadness.org/1/git/$d/" "${reposdir}/${r}"
       +        -u "gopher://drkhsh.at/1/scm/$d/" "${reposdir}/${r}"
        
        ln -sf log.gph index.gph