git.rs

stagit snafu.
git clone git://git.ricketyspace.net/git.rs.git
Log | Files | Refs

gen (320B)


      1 #!/bin/sh
      2 
      3 ROOT="$PWD/html" ; mkdir -p $ROOT && cd $ROOT
      4 
      5 REPOS=""; for r in /home/g/c/*; do
      6     test -d "$r" && REPO=`basename ${r%".git"}` && mkdir -p "./$REPO" \
      7         && cd "./$REPO" && stagit $r && ln -sf log.html index.html \
      8         && REPOS=$REPOS" "$r && cd $ROOT
      9 done
     10 
     11 stagit-index $REPOS > $ROOT/index.html