#!/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 --format=tar HEAD | gzip > ../remote-dcl-snapshot.tar.gz
(cd ../remote-dcl; git --git-dir=.git pull)
exec git update-server-info
