#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".


git archive --prefix=rb-grib/ --format=tar HEAD | gzip > ../rb-grib-snapshot.tar.gz
(cd ../rb-grib; git --git-dir=.git pull)
exec git update-server-info
